CI: remove squash and fix buildah push (#2212)

This commit is contained in:
Denis Pisarev
2021-01-06 18:51:25 +01:00
committed by GitHub
parent 2c951e1022
commit 6bc1ec90d4
+2 -5
View File
@@ -244,7 +244,6 @@ publish-docker:
( echo "no docker credentials provided"; exit 1 )
- cd ./artifacts
- buildah bud
--squash
--format=docker
--build-arg VCS_REF="${CI_COMMIT_SHA}"
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
@@ -253,10 +252,8 @@ publish-docker:
- echo "$Docker_Hub_Pass_Parity" |
buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
- buildah info
- buildah push
--format=v2s2
"$IMAGE_NAME:$VERSION"
"$IMAGE_NAME:$EXTRATAG"
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
- buildah push --format=v2s2 "$IMAGE_NAME:$EXTRATAG"
after_script:
- buildah logout "$IMAGE_NAME"
# only VERSION information is needed for the deployment