Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandhya1874 committed Oct 7, 2024
1 parent 25d74d2 commit 2b89522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- name: Docker login if Docker registry is quay.io
if: ${{ inputs.docker_registry }} == 'quay.io'
if: "${{ inputs.docker_registry }}" == "quay.io"
uses: docker/login-action@v2
with:
registry: ${{ inputs.docker_registry }}
username: ${{ steps.quay_login.outputs.username }}
password: ${{ steps.quay_login.outputs.token }}

- name: Docker login if Docker registry is ghcr.io
if: ${{ inputs.docker_registry }} == 'ghcr.io'
if: "${{ inputs.docker_registry }}" == "ghcr.io"
uses: docker/login-action@v2
with:
registry: ${{ inputs.docker_registry }}
Expand Down

0 comments on commit 2b89522

Please sign in to comment.