ubu20, alma8: revert dropped cmake download/install. #343
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow creates docker images that are used for building ROOT in a Jenkins pipeline | |
# | |
# All created images are uploaded to GitHub Container registry | |
name: Create images v2 | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
schedule: | |
# every day | |
- cron: '0 2 * * *' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
image: | |
- debug | |
- debian10 | |
- fedora37 | |
- fedora37-test | |
- fedora38 | |
- fedora39 | |
- alma8 | |
- alma9 | |
- ubuntu2310 | |
- ubuntu2304 | |
- ubuntu22 | |
- ubuntu20 | |
- ubuntu18 | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Github Container Registry | |
if: github.event_name != 'pull_request' | |
uses: docker/login-action@v2 | |
with: | |
registry: registry.cern.ch | |
username: robot-root-ci+github | |
password: ${{ secrets.CR_PAT }} | |
- name: Build and push | |
uses: docker/build-push-action@v4 | |
with: | |
context: ./${{ matrix.image }}/ | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: registry.cern.ch/root-ci/${{ matrix.image }}:buildready | |
labels: org.opencontainers.image.source=https://github.com/${{ github.repository }} | |
no-cache: ${{ github.event_name != 'push' && github.event_name != 'pull_request' }} | |
cache-from: type=gha,scope=${{ matrix.image }} | |
cache-to: type=gha,mode=max,scope=${{ matrix.image }} |