Refactor CI workflow #309
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, test and push Docker Images | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
workflow_dispatch: | |
# https://docs.github.com/en/actions/using-jobs/using-concurrency | |
concurrency: | |
# only cancel in-progress jobs or runs for the current workflow - matches against branch & tags | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
amd64-build: | |
uses: ./.github/workflows/docker-build-upload.yml | |
with: | |
architecture: amd64 | |
runsOn: ubuntu-latest | |
arm-build: | |
uses: ./.github/workflows/docker-build-upload.yml | |
with: | |
architecture: amd64 | |
runsOn: ARM64 |