aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-18 11:19:29 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-18 11:19:29 +0100
commit66978053534343efd0f61b27ee6c1855d3066cb8 (patch)
treed2b4bc5885c4b892d30c4638d6d66af5fd02b14b
parentClean up workflow file (diff)
Use correct conditional expression for prod steps
-rw-r--r--.github/workflows/lint-test.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index 285b7e7..f772dc4 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -154,7 +154,7 @@ jobs:
# both with the short commit SHA and 'latest'. This step should use
# the cache that was just generated when we built the test container.
- name: Build final image
- if: env.production_build
+ if: env.production_build == 'true'
uses: docker/build-push-action@v2
with:
context: .
@@ -175,7 +175,7 @@ jobs:
# "local" cache failed to be restored. GHCR does not support pushing a
# separate cache manifest, meaning we have to use an "inline" manifest.
- name: Push base image
- if: env.production_build
+ if: env.production_build == 'true'
uses: docker/build-push-action@v2
with:
context: .
@@ -191,7 +191,7 @@ jobs:
# Push the venv image to GHCR *with* an inline cache manifest. See
# the comment attached to the previous step for more information.
- name: Push venv image
- if: env.production_build
+ if: env.production_build == 'true'
uses: docker/build-push-action@v2
with:
context: .