File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1175,7 +1175,7 @@ jobs:
11751175 BUILDPATCHVERSION=${{env.BUILDPATCHVERSION}}
11761176 push : false
11771177 target : app
1178- no-cache : true
1178+ no-cache : ${{ vars.CI_DOCKER_BUILD_NO_CACHE == ' true' && true || false }}
11791179 load : true
11801180 tags : stackql/stackql:${{github.sha}},stackql/stackql:v${{env.BUILDMAJORVERSION}}.${{env.BUILDMINORVERSION}}.${{env.BUILDPATCHVERSION}},stackql/stackql:latest
11811181
@@ -1263,11 +1263,16 @@ jobs:
12631263 username : ${{ secrets.DOCKERHUB_USERNAME }}
12641264 password : ${{ secrets.DOCKERHUB_TOKEN }}
12651265
1266+ - name : Hack to avoid docker buildx failures
1267+ run : |
1268+ mkdir -p cicd/vol/postgres/persist
1269+
12661270 - name : Push stackql image to Docker Hub
12671271 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') ) }}
12681272 uses : docker/build-push-action@v5
12691273 with :
12701274 context : .
1275+ no-cache : ${{ vars.CI_DOCKER_BUILD_NO_CACHE == 'true' && true || false }}
12711276 platforms : linux/arm64,linux/amd64
12721277 build-args : |
12731278 BUILDMAJORVERSION=${{env.BUILDMAJORVERSION}}
You can’t perform that action at this time.
0 commit comments