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:
parent
b7f3e68d49
commit
bde9aec1c0
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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…
x
Reference in New Issue
Block a user