Skip to content

Commit

Permalink
Merge pull request #265 from parca-dev/podman-login
Browse files Browse the repository at this point in the history
.github: Fix container registry login
  • Loading branch information
brancz committed Mar 2, 2022
2 parents 3fd3aa2 + b469b53 commit 1110c48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: Login to registry
if: ${{ github.event_name != 'pull_request' }}
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | buildah login -u parca-dev --password-stdin ghcr.io
echo "${{ secrets.QUAY_PASSWORD }}" | buildah login -u "${{ secrets.QUAY_USERNAME }}" --password-stdin quay.io
echo "${{ secrets.GITHUB_TOKEN }}" | podman login -u parca-dev --password-stdin ghcr.io
echo "${{ secrets.QUAY_PASSWORD }}" | podman login -u "${{ secrets.QUAY_USERNAME }}" --password-stdin quay.io
- name: Push container
if: ${{ github.event_name != 'pull_request' }}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ container:

.PHONY: push-container
push-container:
podman push $(OUT_DOCKER):$(VERSION)
podman manifest push $(OUT_DOCKER):$(VERSION)

.PHONY: push-quay-container
push-quay-container:
podman push $(OUT_DOCKER):$(VERSION) quay.io/parca/parca-agent:$(VERSION)
podman manifest push $(OUT_DOCKER):$(VERSION) quay.io/parca/parca-agent:$(VERSION)

.PHONY: internal/pprof
internal/pprof:
Expand Down

0 comments on commit 1110c48

Please sign in to comment.