🌱 Image build, use variables for repo push #122
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: Multiple Architecture Image Build | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "main" | ||
- "release-*" | ||
tags: | ||
- "v*" | ||
concurrency: | ||
group: build-${{ github.ref }} | ||
cancel-in-progress: true | ||
env: | ||
target_registry: ${{ vars.IMAGE_BUILD_REGISTRY || 'quay.io/konveyor' }} | ||
target_image_name: ${{ vars.IMAGE_BUILD_IMAGE_NAME || 'tackle2-ui' }} | ||
jobs: | ||
image-build: | ||
uses: konveyor/release-tools/.github/workflows/build-push-images.yaml@main | ||
with: | ||
registry: ${{ env.target_registry }} | ||
Check failure on line 24 in .github/workflows/image-build.yaml GitHub Actions / Multiple Architecture Image BuildInvalid workflow file
|
||
image_name: ${{ env.target_image_name }} | ||
containerfile: "./Dockerfile" | ||
# keep the architectures in sync with `ci-image-build.yml` | ||
architectures: '[ "amd64", "arm64" ]' | ||
# 2023-03-19: currently needed for npm@10 | ||
extra-args: "--ulimit nofile=4096:4096" | ||
secrets: | ||
registry_username: ${{ secrets.QUAY_PUBLISH_ROBOT }} | ||
registry_password: ${{ secrets.QUAY_PUBLISH_TOKEN }} |