fix docker secrets

pull/869/head v1.2.0
Simon Aronsson 4 years ago committed by GitHub
parent b7f3e68d49
commit bde9aec1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -144,8 +144,11 @@ jobs:
--arch arm64 \
--variant v8
- name: Push manifests to Dockerhub
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
echo "$DOCKER_TOKEN" | docker login -u $DOCKER_USER --password-stdin && \
docker login -u $DOCKER_USER -p $DOCKER_TOKEN && \
docker manifest push containrrr/watchtower:$(echo $TAG | sed 's/^v*//') && \
docker manifest push containrrr/watchtower:latest

Loading…
Cancel
Save