Skip to content

Set target repo prefix with flag #3

Set target repo prefix with flag

Set target repo prefix with flag #3

name: pull-build-image-syncer.yml
on:
pull_request_target:
types: [ opened, edited, synchronize, reopened, ready_for_review ]
paths:
- "cmd/image-syncer/*.go"
- "cmd/image-syncer/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
jobs:
build-image:
uses: ./.github/workflows/image-builder.yml
with:
name: image-syncer
dockerfile: cmd/image-syncer/Dockerfile
context: .
print-image:
runs-on: ubuntu-latest
needs: build-image
steps:
- name: Print image
run: echo "Image built ${{ needs.build-image.outputs.images }}"