Skip to content

Commit

Permalink
Correct username for docker/logi-action GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
koropets committed Jun 27, 2024
1 parent 21f7f36 commit 025093b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/master-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to production CR
uses: docker/login-action@v1
if: ${{ steps.prep.outputs.login_prod_cr }}
with:
registry: ${{ env.DOCKER_PROD_REGISTRY }}
username: ${{ secrets.DOCKER_PROD_USERNAME }}
password: ${{ secrets.DOCKER_PROD_PASSWORD }}

- name: Login to CR
uses: docker/login-action@v1
if: ${{ steps.prep.outputs.login_cr }}
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_GITHUB_USER }}
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_GITHUB_PASSWORD }}

- name: Build base image
Expand Down

0 comments on commit 025093b

Please sign in to comment.