Fix job condition
This commit is contained in:
parent
8456a74773
commit
6ba866beb4
1 changed files with 1 additions and 1 deletions
2
.github/workflows/flaskr-ci.yaml
vendored
2
.github/workflows/flaskr-ci.yaml
vendored
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
# Build Docker image in a separate job so that it's not tainted by cached build/test files
|
# Build Docker image in a separate job so that it's not tainted by cached build/test files
|
||||||
build-image:
|
build-image:
|
||||||
needs: tests
|
needs: tests
|
||||||
if: github.event_name == "pull_request"
|
if: ${{ github.event_name == "pull_request" }}
|
||||||
permissions:
|
permissions:
|
||||||
# Required permission to push images with the built-in GITHUB_TOKEN
|
# Required permission to push images with the built-in GITHUB_TOKEN
|
||||||
packages: write
|
packages: write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue