Skip to content

Commit 5557e11

Browse files
Update pub-docker-hub.yaml
1 parent ef523e9 commit 5557e11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pub-docker-hub.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: docker/login-action@v2
1313
with:
1414
username: ${{secrets.DOCKER_USERNAME}}
15-
password: ${{secrets.DOCKER_TOKEN}}
15+
password: ${{secrets.DOCKER_PASSWORD}}
1616
- uses: actions/checkout@v3
1717
- name: Set up Maven Central Repository
1818
uses: actions/setup-java@v3
@@ -21,9 +21,9 @@ jobs:
2121
distribution: 'adopt'
2222
server-id: docker.io
2323
server-username: DOCKER_USERNAME
24-
server-password: DOCKER_TOKEN
24+
server-password: DOCKER_PASSWORD
2525
- name: Publish package
2626
run: mvn --batch-mode -Prelease package dockerfile:push
2727
env:
2828
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
29-
DOCKER_TOKEN: ${{secrets.DOCKER_TOKEN}}
29+
DOCKER_TOKEN: ${{secrets.DOCKER_PASSWORD}}

0 commit comments

Comments
 (0)