2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 09:00:28 +01:00

Merge pull request #25 from offen/docker-token

Use docker access token instead of password to push builds
This commit is contained in:
Frederik Ring 2019-12-16 17:09:21 +01:00 committed by GitHub
commit ae634dc212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ jobs:
else else
export DOCKER_IMAGE_TAG="latest" export DOCKER_IMAGE_TAG="latest"
fi fi
echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin echo "$DOCKER_ACCESSTOKEN" | docker login --username $DOCKER_USER --password-stdin
docker push offen/website:$DOCKER_IMAGE_TAG docker push offen/website:$DOCKER_IMAGE_TAG
deploy: deploy: