Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 698d80b

Browse files
authored
CI: remove squash and fix buildah push (#7841)
1 parent e5e7606 commit 698d80b

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.gitlab-ci.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -502,20 +502,17 @@ build-rust-doc:
502502
- echo "${PRODUCT} version = ${VERSION}"
503503
- test -z "${VERSION}" && exit 1
504504
- buildah bud
505-
--squash
506-
--format=docker
507-
--build-arg VCS_REF="${CI_COMMIT_SHA}"
508-
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
509-
--tag "$IMAGE_NAME:$VERSION"
510-
--tag "$IMAGE_NAME:latest"
511-
--file "$DOCKERFILE" .
505+
--format=docker
506+
--build-arg VCS_REF="${CI_COMMIT_SHA}"
507+
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
508+
--tag "$IMAGE_NAME:$VERSION"
509+
--tag "$IMAGE_NAME:latest"
510+
--file "$DOCKERFILE" .
512511
- echo "$Docker_Hub_Pass_Parity" |
513512
buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
514513
- buildah info
515-
- buildah push
516-
--format=v2s2
517-
"$IMAGE_NAME:$VERSION"
518-
"$IMAGE_NAME:latest"
514+
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
515+
- buildah push --format=v2s2 "$IMAGE_NAME:latest"
519516

520517
publish-docker-substrate:
521518
stage: publish

0 commit comments

Comments
 (0)