REVERT ME #17
This file contains hidden or 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
| name: EasyCrypt Docker Containers Build | |
| on: | |
| push: | |
| branches: | |
| - 'stable' | |
| - 'testing' | |
| - 'docker-builds-in-ci' | |
| tags: | |
| - 'r[0-9]+.[0-9]+' | |
| workflow_dispatch: | |
| jobs: | |
| make-images: | |
| name: Build and Push Container Images | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build `base` Image | |
| run: TAG=${{ github.ref_name }} VARIANT=base make -C scripts/docker | |
| - name: Build `build` Image | |
| run: TAG=${{ github.ref_name }} VARIANT=build make -C scripts/docker | |
| - name: Build `formosa` Image | |
| run: TAG=${{ github.ref_name }} VARIANT=formosa make -C scripts/docker | |
| - name: Log in to the Container registry | |
| uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | |
| with: | |
| registry: https://ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Push All Images | |
| run: | | |
| TAG=${{ github.ref_name }} VARIANT=base make -C scripts/docker publish | |
| TAG=${{ github.ref_name }} VARIANT=build make -C scripts/docker publish | |
| TAG=${{ github.ref_name }} VARIANT=formosa make -C scripts/docker publish |