chore: add comment to Dockerfile
to validate workflows
#1
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: Build and push images for pull requests | |
"on": | |
pull_request: | |
branches: | |
- main | |
paths: | |
- api/** | |
- cmd/** | |
- internal/** | |
- Dockerfile | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
- unlabeled | |
permissions: {} | |
jobs: | |
run_unit_tests: | |
uses: ./.github/workflows/tests.yaml | |
permissions: | |
# required by downstream jobs | |
contents: read | |
build_and_push_image_for_prs: | |
needs: run_unit_tests | |
if: contains(github.event.pull_request.labels.*.name, 'build-image') | |
uses: ./.github/workflows/build-and-push-image.yaml | |
with: | |
environment: dev | |
image: prefect-operator-dev |