Skip to content

Action to build images when pushed to main or release branch #1

Action to build images when pushed to main or release branch

Action to build images when pushed to main or release branch #1

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/image-build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/image-build.yaml

Invalid workflow file

(Line: 22, Col: 9): Unexpected value 'secrets', (Line: 13, Col: 5): Required property is missing: runs-on
workflow_dispatch:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'
jobs:
## Building image will always happen.
build-image:
steps:
- name: Build and Push
uses: konveyor/release-tools/.github/workflows/build-push-images.yaml@main
with:
regirstry: "quay.io/konveyor"
image_name: "c-sharp-provider"
containerfile: "./Dockerfile"
context: "."
architectures: '[ "amd64", "arm64" ]'
secrets:
registry_username: ${{ secrets.QUAY_PUBLISH_ROBOT }}
registry_password: ${{ secrets.QUAY_PUBLISH_TOKEN }}