From 13250bb8c176956dff1722003c73aa3a016922a6 Mon Sep 17 00:00:00 2001 From: ItsSudip Date: Wed, 17 Jan 2024 15:41:11 +0530 Subject: [PATCH] update authentication method to DOCKERHUB_TOKEN --- .github/workflows/build-and-push-docker-image.yml | 4 ++-- .github/workflows/prod-deploy.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-docker-image.yml b/.github/workflows/build-and-push-docker-image.yml index 599e654..68c7c0c 100644 --- a/.github/workflows/build-and-push-docker-image.yml +++ b/.github/workflows/build-and-push-docker-image.yml @@ -9,7 +9,7 @@ on: secrets: DOCKERHUB_USERNAME: required: true - DOCKERHUB_PASSWORD: + DOCKERHUB_TOKEN: required: true jobs: @@ -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 diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index 1e0b8da..cc9b26e 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -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