Skip to content

Commit

Permalink
Merge pull request opensearch-project#557 from kakkoyun/fix_container…
Browse files Browse the repository at this point in the history
…_sign_bug

ci/container: Fix cosign login
  • Loading branch information
kakkoyun authored Jul 8, 2022
2 parents 7cfc67e + 1f4fa1a commit 7734f59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,16 @@ jobs:
- name: Check images are created
run: podman images | grep 'ghcr.io/parca-dev/parca-agent'

- name: Install cosign
if: ${{ github.event_name != 'pull_request' }}
uses: sigstore/cosign-installer@48866aa521d8bf870604709cd43ec2f602d03ff2 # tag=v2.4.1

- name: Login to registry
if: ${{ github.event_name != 'pull_request' }}
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | podman login -u parca-dev --password-stdin ghcr.io
echo "${{ secrets.QUAY_PASSWORD }}" | cosign login -u "${{ secrets.QUAY_USERNAME }}" --password-stdin quay.io
- name: Install cosign
if: ${{ github.event_name != 'pull_request' }}
uses: sigstore/cosign-installer@48866aa521d8bf870604709cd43ec2f602d03ff2 # tag=v2.4.1

- name: Install crane
if: ${{ github.event_name != 'pull_request' }}
uses: imjasonh/setup-crane@5146f708a817ea23476677995bf2133943b9be0b # tag=v0.1
Expand Down

0 comments on commit 7734f59

Please sign in to comment.