gh: bump version to capture new planner sync/async behaviour #131
Workflow file for this run
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
name: Release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build-images: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: [faabric, planner] | |
steps: | |
- name: "Get the code" | |
uses: actions/checkout@v3 | |
- name: "Get tag version" | |
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/v*}" >> $GITHUB_ENV | |
- name: "Print tag version" | |
run: echo ${{ env.TAG_VERSION }} | |
- name: "Set up QEMU" | |
uses: docker/setup-qemu-action@v2 | |
- name: "Set up Docker Buildx" | |
uses: docker/setup-buildx-action@v2 | |
- name: "Log in to ACR" | |
uses: docker/login-action@v2 | |
with: | |
registry: faasm.azurecr.io | |
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }} | |
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }} | |
- name: "Build Faabric container" | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
file: docker/${{ matrix.image }}.dockerfile | |
context: . | |
tags: faasm.azurecr.io/${{ matrix.image }}:${{ env.TAG_VERSION }} | |
build-args: FAABRIC_VERSION=${{ env.TAG_VERSION }} |