Skip to content

Commit

Permalink
Publish images to GHCR (open-telemetry#504)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay authored and hero committed Dec 12, 2021
1 parent 483e7e3 commit 3714686
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v3.6.0
with:
images: quay.io/opentelemetry/opentelemetry-operator
images: quay.io/opentelemetry/opentelemetry-operator,ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
tag-semver: |
{{raw}}
{{version}}
Expand All @@ -59,6 +59,13 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Operator image
uses: docker/build-push-action@v2.6.1
with:
Expand Down

0 comments on commit 3714686

Please sign in to comment.