Skip to content

Commit

Permalink
Mirror images to Dockerhub (#1708)
Browse files Browse the repository at this point in the history
* Bump prometheus version

* Docker hub mirror

* remove another one

* chlog

* test creds

* revert

* changelog req
  • Loading branch information
jaronoff97 committed May 9, 2023
1 parent 4886a78 commit 43869bf
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .chloggen/mirror-to-dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
component: github actions

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Publish image to dockerhub too

# One or more tracking issues related to the change
issues: [1708]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
10 changes: 9 additions & 1 deletion .github/workflows/publish-autoinstrumentation-dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-dotnet
images: |
otel/autoinstrumentation-dotnet
ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-dotnet
tags: |
type=match,pattern=v(.*),group=1,value=v${{ env.VERSION }}
Expand All @@ -45,6 +47,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish-autoinstrumentation-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-java
images: |
otel/autoinstrumentation-java
ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-java
tags: |
type=match,pattern=v(.*),group=1,value=v${{ env.VERSION }}
Expand All @@ -45,6 +47,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish-autoinstrumentation-nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-nodejs
images: |
otel/autoinstrumentation-nodejs
ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-nodejs
tags: |
type=match,pattern=v(.*),group=1,value=v${{ env.VERSION }}
Expand All @@ -45,6 +47,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish-autoinstrumentation-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-python
images: |
otel/autoinstrumentation-python
ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-python
tags: |
type=match,pattern=v(.*),group=1,value=v${{ env.VERSION }}
Expand All @@ -45,6 +47,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
images: |
otel/opentelemetry-operator
ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand All @@ -58,6 +60,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish-operator-opamp-bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/operator-opamp-bridge
images: |
otel/operator-opamp-bridge
ghcr.io/open-telemetry/opentelemetry-operator/operator-opamp-bridge
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand All @@ -48,6 +50,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/publish-target-allocator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator
images: |
otel/target-allocator
ghcr.io/open-telemetry/opentelemetry-operator/target-allocator
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand All @@ -48,6 +50,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Log into Docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Package Registry
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 43869bf

Please sign in to comment.