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

use docker access token instead of password to push builds

This commit is contained in:
Frederik Ring 2019-12-16 17:06:32 +01:00
parent f0ac407daf
commit dfc85aba54

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: