Skip to content

Commit 6a9f5a5

Browse files
authored
Update docker-publish.yml
Replace password by token
1 parent 2c32fa5 commit 6a9f5a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2727
id: extract_branch
2828

29-
# Updating this to @v2 requires a github auth token
3029
- name: Push to GitHub Packages
3130
uses: docker/build-push-action@v3
3231
with:
@@ -37,12 +36,11 @@ jobs:
3736
tag_with_ref: true
3837
tags: ${{ steps.extract_branch.outputs.branch }}
3938

40-
# Updating this to @v2 requires a github auth token
4139
- name: Push to Docker Hub
4240
uses: docker/build-push-action@v3
4341
with:
4442
username: ${{ secrets.DOCKER_USERNAME }}
45-
password: ${{ secrets.DOCKER_PASSWORD }}
43+
password: ${{ secrets.DOCKER_TOKEN }}
4644
repository: mfeurer/auto-sklearn
4745
tags: ${{ steps.extract_branch.outputs.branch }}
4846

0 commit comments

Comments
 (0)