Skip to content

Commit

Permalink
fix: docker authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
almax07082005 committed Nov 14, 2024
1 parent ace97c8 commit 6862349
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:
uses: actions/checkout@v2

- name: Authorize in Docker
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin

- name: Set up JDK 20
uses: actions/setup-java@v2
Expand Down

0 comments on commit 6862349

Please sign in to comment.