Skip to content

Commit

Permalink
removed deprecated docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
hlebkanonik committed Oct 2, 2023
1 parent 1b1b2f1 commit df4a26e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/retag-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ jobs:
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Login to Docker Hub
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

- name: Create variables
id: vars
Expand Down

0 comments on commit df4a26e

Please sign in to comment.