Create and Publish Release Docker Image #16
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: "Create and Publish Release Docker Image" | |
on: | |
workflow_dispatch: | |
jobs: | |
static-checks: | |
uses: ./.github/workflows/all-static-checks.yaml | |
secrets: inherit | |
build-artifact: | |
needs: static-checks | |
uses: ./.github/workflows/build-artifact.yaml | |
secrets: inherit | |
build-wheels: | |
needs: build-artifact | |
strategy: | |
matrix: | |
# Since pre-compiled builds only run on 20.04, we can only test on 20.04 for now | |
# The full 22.04 flow can be tested without precompiled | |
os: [ubuntu-20.04] | |
arch: [grayskull, wormhole_b0] | |
uses: ./.github/workflows/_build-wheels-impl.yaml | |
with: | |
os: ${{ matrix.os }} | |
arch: ${{ matrix.arch }} | |
from-precompiled: true | |
publish-release-image: | |
needs: build-wheels | |
uses: ./.github/workflows/publish-release-image.yaml | |
secrets: inherit | |
with: | |
version: dev-${GITHUB_REF_NAME//\//-} | |
is_major_version: false |