Update docker workflow

This commit is contained in:
CrazyMax 2019-09-02 17:54:09 +02:00
parent 4b688551c8
commit 8a0fbb3a7b
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -34,10 +34,9 @@ jobs:
name: Docker Login
if: success() && startsWith(github.ref, 'refs/tags/v')
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "${DOCKER_PASSWORD}" | docker login --username ${DOCKER_USERNAME} --password-stdin
echo "${DOCKER_PASSWORD}" | docker login --username crazymax --password-stdin
-
name: Docker Push
if: success() && startsWith(github.ref, 'refs/tags/v')