Skip to content

Commit 37bca54

Browse files
authored
Merge pull request #1055 from opengisch/fix-gh-build-and-push
Fixing github Build-and-push so that it actually pushes
2 parents 92c4e2f + 222e1b9 commit 37bca54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_and_push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
with:
9797
file: ${{ matrix.services.dockerfile }}
9898
context: ${{ matrix.services.docker_context }}
99+
push: ${{ matrix.services.enable_dockerhub && (github.event_name == 'release' || github.ref_name == 'master') }}
99100
target: ${{ matrix.services.docker_target }}
100101
tags: ${{ steps.docker_metadata.outputs.tags }}
101102
cache-from: type=registry,ref=ghcr.io/opengisch/qfieldcloud-${{ matrix.services.service_name }}:buildcache

0 commit comments

Comments
 (0)