it fkn worked wtf git add .gitlab-ci.yml! change login method to stdin

This commit is contained in:
Hamza Ahmed
2022-05-27 12:57:22 +01:00
parent 641e30d36a
commit 3dea313bb4
+1 -1
View File
@@ -10,6 +10,6 @@ services:
build:
stage: build
script:
- docker login dockeregistry.ahmza.com -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- echo $DOCKER_PASSWORD | docker login dockeregistry.ahmza.com -u "$DOCKER_USERNAME" --password-stdin
- docker buildx create --use
- docker buildx build --platform linux/arm64 -t dockeregistry.ahmza.com/blog:latest --push .