Skip to content

Commit 3c786f9

Browse files
committed
Make the docker image generic
And tags the images with edge instead of prefixing test-
1 parent 2d3364a commit 3c786f9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
repository-url: https://upload.pypi.org/legacy/
5858

59-
publish-docker-operator:
59+
publish-docker:
6060
needs:
6161
- packages
6262
runs-on: ubuntu-latest
@@ -65,7 +65,7 @@ jobs:
6565
id-token: write
6666
contents: write
6767
env:
68-
DOCKER_IMAGE_NAME: docker.elastic.co/observability/elastic-otel-python-operator
68+
DOCKER_IMAGE_NAME: docker.elastic.co/observability/elastic-otel-python
6969
steps:
7070
- uses: actions/checkout@v4
7171

@@ -90,11 +90,12 @@ jobs:
9090
with:
9191
images: ${{ env.DOCKER_IMAGE_NAME }}
9292
tags: |
93-
type=raw,value=latest,prefix=test-,enable={{is_default_branch}}
9493
type=semver,pattern={{version}}
94+
# "edge" Docker tag on git push to default branch
95+
type=edge
9596
labels: |
9697
org.opencontainers.image.vendor=Elastic
97-
org.opencontainers.image.title=elastic-otel-python-operator
98+
org.opencontainers.image.title=elastic-otel-python
9899
org.opencontainers.image.description=Elastic Distribution of OpenTelemetry Python
99100
100101
- name: Build and push image

0 commit comments

Comments
 (0)