2
0
mirror of https://github.com/offen/website.git synced 2024-11-21 16:50:27 +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
export DOCKER_IMAGE_TAG="latest"
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
deploy: