Skip to content

Commit

Permalink
Do not attempt docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Jun 7, 2024
1 parent 953f4a1 commit aef3c33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/base-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,14 @@ jobs:
run: make generate-sources

- name: Log into Docker.io
if: ${{ github.repository_owner == 'open-telemetry' }}
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
if: ${{ github.repository_owner == 'open-telemetry' }}
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ghcr.io
Expand Down Expand Up @@ -139,12 +141,14 @@ jobs:
run: ls -R distributions/${{ inputs.distribution }}/dist

- name: Log into Docker.io
if: ${{ github.repository_owner == 'open-telemetry' }}
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
if: ${{ github.repository_owner == 'open-telemetry' }}
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ghcr.io
Expand Down

0 comments on commit aef3c33

Please sign in to comment.