Set Azure CLI version to latest
#165
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: Build | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
deployment: | |
strategy: | |
matrix: | |
target: [aws, gcp, azure] | |
platform: [linux/amd64, linux/arm64] | |
name: Build the image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@main | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
if: matrix.platform == 'linux/arm64' | |
with: | |
platforms: linux/arm64 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Bake the ${{ matrix.target }} image | |
uses: docker/bake-action@v2 | |
with: | |
targets: ${{ matrix.target }} | |
load: true | |
set: | | |
${{ matrix.target }}.tags=runner-terraform:${{ github.sha }} | |
${{ matrix.target }}.platform=${{ matrix.platform }} | |