ci: add CSI_UPGRADE_VERSION var to build.env #6954
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: multi-arch-build | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
branches: | |
- '*' | |
permissions: | |
contents: read | |
jobs: | |
codespell: | |
name: multi-arch-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: multi-arch-build | |
# yamllint disable-line rule:line-length | |
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'ci/skip/multi-arch-build') }} | |
# podman cannot pull images with both tag and digest | |
# https://github.com/containers/buildah/issues/1407 | |
# use docker to build images | |
run: CONTAINER_CMD=docker ./scripts/build-multi-arch-image.sh | |
- name: single-arch-build | |
# yamllint disable-line rule:line-length | |
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci/skip/multi-arch-build') }} | |
run: make containerized-build |