Skip to content

Commit

Permalink
update authentication method to DOCKERHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSudip committed Jan 17, 2024
1 parent 5fa332d commit 13250bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
secrets:
DOCKERHUB_USERNAME:
required: true
DOCKERHUB_PASSWORD:
DOCKERHUB_TOKEN:
required: true

jobs:
Expand All @@ -26,7 +26,7 @@ jobs:
uses: docker/login-action@v3.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Images
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
img_tag: ${{ needs.extract-version.outputs.version }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

create-pull-request:
name: Create Pull Request for Shopify Tracker Helm Chart
Expand Down

0 comments on commit 13250bb

Please sign in to comment.