Skip to content

Commit 54cadb2

Browse files
committed
[ci] hotfix for the one untested path in docker PR
1 parent f644a86 commit 54cadb2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ jobs:
246246

247247
publish:
248248
name: Publish Docker images
249-
if: |
250-
github.event_name == 'push'
249+
if: github.event_name == 'push'
251250
needs: [compile-opam, compile-nix, check, external, external-status, docker]
252251
runs-on: ubuntu-24.04
253252
permissions:
@@ -258,6 +257,8 @@ jobs:
258257
with:
259258
name: docker-images
260259
- run: gunzip -c base-image.tar.gz | docker load
260+
- run: gunzip -c base-build-image.tar.gz | docker load
261+
if: github.ref_name == 'main'
261262
- run: gunzip -c build-image.tar.gz | docker load
262263
- uses: docker/login-action@v3
263264
with:

0 commit comments

Comments
 (0)