Skip to content

Commit 6187705

Browse files
docker-buildx-testing
1 parent 1df44d5 commit 6187705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ jobs:
12681268
mkdir -p cicd/vol/postgres/persist
12691269
12701270
- name: Push stackql image to Docker Hub
1271-
if: ${{ ( success() && github.ref_type == 'branch' && github.ref_name == 'main' && github.repository == 'stackql/stackql' && github.event_name == 'push' ) || ( success() && github.ref_type == 'tag' && startsWith(github.ref_name, 'build-release') ) }}
1271+
if: ${{ env.CI_SKIP_DOCKER_PUSH != 'true' && ( success() && github.ref_type == 'branch' && github.ref_name == 'main' && github.event_name == 'push' ) || ( success() && github.ref_type == 'tag' && startsWith(github.ref_name, 'build-release') ) }}
12721272
uses: docker/build-push-action@v5
12731273
with:
12741274
context: .
@@ -1281,5 +1281,5 @@ jobs:
12811281
RUN_INTEGRATION_TESTS=0
12821282
push: true
12831283
target: app
1284-
tags: stackql/stackql:${{github.sha}},stackql/stackql:v${{env.BUILDMAJORVERSION}}.${{env.BUILDMINORVERSION}}.${{env.BUILDPATCHVERSION}},stackql/stackql:latest
1284+
tags: ${{ github.repository }}:${{github.sha}},${{ github.repository }}:v${{env.BUILDMAJORVERSION}}.${{env.BUILDMINORVERSION}}.${{env.BUILDPATCHVERSION}},${{ github.repository }}:latest
12851285

0 commit comments

Comments
 (0)