Fix job condition

This commit is contained in:
ted-cdw 2023-02-23 16:12:04 -05:00
parent 8456a74773
commit 6ba866beb4

View file

@ -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