Skip to content

Commit

Permalink
fix docker secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
simskij authored Mar 28, 2021
1 parent b7f3e68 commit bde9aec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bde9aec

Please sign in to comment.