Skip to content

Commit 1d7c627

Browse files
authored
[ci] Update docker login action to use dockerhub token (#3858)
1 parent 126c751 commit 1d7c627

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docker_publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
uses: aws-actions/amazon-ecr-login@v2
3333
with:
3434
registries: "314815235551"
35-
- name: Login to Docker
36-
uses: docker/login-action@v2
35+
- name: Login to Docker Hub
36+
uses: docker/login-action@v4
3737
with:
38-
username: ${{ secrets.DOCKER_USERNAME }}
39-
password: ${{ secrets.DOCKER_PASSWORD }}
38+
username: ${{ secrets.DOCKERHUB_USERNAME }}
39+
password: ${{ secrets.DOCKERHUB_TOKEN }}
4040
- name: Set variables
4141
run: |
4242
DJL_VERSION=$(awk -F '=' '/djl/ {gsub(/ ?"/, "", $2); print $2}' gradle/libs.versions.toml)

0 commit comments

Comments
 (0)