1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-01-17 18:26:19 +02:00

fix docker secrets

This commit is contained in:
Simon Aronsson 2021-03-28 22:28:19 +02:00 committed by GitHub
parent b7f3e68d49
commit bde9aec1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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