Skip to content

Commit 7adf261

Browse files
authored
Publish images to GHCR (#504)
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 640e531 commit 7adf261

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish-images.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
id: docker_meta
3333
uses: docker/[email protected]
3434
with:
35-
images: quay.io/opentelemetry/opentelemetry-operator
35+
images: quay.io/opentelemetry/opentelemetry-operator,ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
3636
tag-semver: |
3737
{{raw}}
3838
{{version}}
@@ -59,6 +59,13 @@ jobs:
5959
username: ${{ secrets.QUAY_USERNAME }}
6060
password: ${{ secrets.QUAY_PASSWORD }}
6161

62+
- name: Login to GitHub Package Registry
63+
uses: docker/login-action@v1
64+
with:
65+
registry: ghcr.io
66+
username: ${{ github.repository_owner }}
67+
password: ${{ secrets.GITHUB_TOKEN }}
68+
6269
- name: Build and push Operator image
6370
uses: docker/[email protected]
6471
with:

0 commit comments

Comments
 (0)