From 06f9f91fbdb621841e0fa003e1ea803f6e0062aa Mon Sep 17 00:00:00 2001 From: Gandalf Date: Sat, 21 Sep 2024 01:15:01 +0530 Subject: [PATCH 1/2] Update docker.yml --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 807e621f5d..19f595ccdf 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -77,9 +77,9 @@ jobs: # login to registries - name: Login to DockerHub uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + env: + INPUT_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + INPUT_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 From 7cbb4acd0334c190235b5b8e80a42d80c9c59cbe Mon Sep 17 00:00:00 2001 From: Gandalf Date: Sat, 21 Sep 2024 01:29:05 +0530 Subject: [PATCH 2/2] Update docker.yml --- .github/workflows/docker.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 19f595ccdf..6237f30265 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -154,9 +154,9 @@ jobs: # login to registries - name: Login to DockerHub uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + env: + INPUT_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + INPUT_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -237,9 +237,9 @@ jobs: # login to registries - name: Login to DockerHub uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + env: + INPUT_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + INPUT_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -372,9 +372,9 @@ jobs: # login to registries - name: Login to DockerHub uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + env: + INPUT_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + INPUT_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -476,9 +476,9 @@ jobs: # login to registries - name: Login to DockerHub uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + env: + INPUT_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + INPUT_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -587,9 +587,9 @@ jobs: # login to registries - name: Login to DockerHub uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + env: + INPUT_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + INPUT_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v3