diff --git a/.github/workflows/master-ci.yml b/.github/workflows/master-ci.yml index a14205390..cc212890d 100644 --- a/.github/workflows/master-ci.yml +++ b/.github/workflows/master-ci.yml @@ -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