mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
CI: remove squash and fix buildah push (#2212)
This commit is contained in:
+7
-10
@@ -244,19 +244,16 @@ publish-docker:
|
|||||||
( echo "no docker credentials provided"; exit 1 )
|
( echo "no docker credentials provided"; exit 1 )
|
||||||
- cd ./artifacts
|
- cd ./artifacts
|
||||||
- buildah bud
|
- buildah bud
|
||||||
--squash
|
--format=docker
|
||||||
--format=docker
|
--build-arg VCS_REF="${CI_COMMIT_SHA}"
|
||||||
--build-arg VCS_REF="${CI_COMMIT_SHA}"
|
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
|
||||||
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
|
--tag "$IMAGE_NAME:$VERSION"
|
||||||
--tag "$IMAGE_NAME:$VERSION"
|
--tag "$IMAGE_NAME:$EXTRATAG" .
|
||||||
--tag "$IMAGE_NAME:$EXTRATAG" .
|
|
||||||
- echo "$Docker_Hub_Pass_Parity" |
|
- echo "$Docker_Hub_Pass_Parity" |
|
||||||
buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
|
buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
|
||||||
- buildah info
|
- buildah info
|
||||||
- buildah push
|
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
|
||||||
--format=v2s2
|
- buildah push --format=v2s2 "$IMAGE_NAME:$EXTRATAG"
|
||||||
"$IMAGE_NAME:$VERSION"
|
|
||||||
"$IMAGE_NAME:$EXTRATAG"
|
|
||||||
after_script:
|
after_script:
|
||||||
- buildah logout "$IMAGE_NAME"
|
- buildah logout "$IMAGE_NAME"
|
||||||
# only VERSION information is needed for the deployment
|
# only VERSION information is needed for the deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user