Fix buildah login (#9786)

This commit is contained in:
Sergejs Kostjucenko
2021-09-16 23:50:43 +03:00
committed by GitHub
parent 68c93ec4e7
commit 867cf27bbd
+2 -2
View File
@@ -662,8 +662,8 @@ build-rustdoc:
--tag "$IMAGE_NAME:$VERSION"
--tag "$IMAGE_NAME:latest"
--file "$DOCKERFILE" .
- echo "$DOCKER_HUB_USER" |
buildah login --username "$DOCKER_HUB_PASS" --password-stdin docker.io
- echo "$DOCKER_HUB_PASS" |
buildah login --username "$DOCKER_HUB_USER" --password-stdin docker.io
- buildah info
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
- buildah push --format=v2s2 "$IMAGE_NAME:latest"