Skip to content

Commit 0c155a0

Browse files
committed
CI: hotfix followup
1 parent 51d0780 commit 0c155a0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

gitlab/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@ build_and_push_esplora_base:
4545
- build_esplora_base_amd64
4646
- build_esplora_base_arm64
4747
script:
48-
- docker buildx imagetools create \
49-
-t ${IMAGE_BASE}:latest \
50-
${IMAGE_BASE}:latest-amd64 \
48+
- docker buildx imagetools create
49+
-t ${IMAGE_BASE}:latest
50+
${IMAGE_BASE}:latest-amd64
5151
${IMAGE_BASE}:latest-arm64
5252

5353
.build_esplora_test:
5454
stage: build
55+
only:
56+
- merge_requests
5557
before_script:
5658
- docker buildx create
5759
--driver=docker-container
@@ -120,7 +122,7 @@ build_and_push_esplora_latest:
120122
- build_esplora_latest_amd64
121123
- build_esplora_latest_arm64
122124
script:
123-
- docker buildx imagetools create \
124-
-t ${IMAGE}:latest \
125-
${IMAGE}:latest-amd64 \
125+
- docker buildx imagetools create
126+
-t ${IMAGE}:latest
127+
${IMAGE}:latest-amd64
126128
${IMAGE}:latest-arm64

0 commit comments

Comments
 (0)