Skip to content

Commit 1704ee5

Browse files
authored
github: use docker github secrets (#2054)
1 parent 8ac4864 commit 1704ee5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ jobs:
120120
DOCKER_IMAGE_NAME: docker.elastic.co/observability/apm-agent-python
121121
steps:
122122
- uses: actions/checkout@v4
123-
- uses: elastic/apm-pipeline-library/.github/actions/docker-login@current
123+
124+
- name: Log in to the Elastic Container registry
125+
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
124126
with:
125-
registry: docker.elastic.co
126-
secret: secret/observability-team/ci/docker-registry/prod
127-
url: ${{ secrets.VAULT_ADDR }}
128-
roleId: ${{ secrets.VAULT_ROLE_ID }}
129-
secretId: ${{ secrets.VAULT_SECRET_ID }}
127+
registry: ${{ secrets.ELASTIC_DOCKER_REGISTRY }}
128+
username: ${{ secrets.ELASTIC_DOCKER_USERNAME }}
129+
password: ${{ secrets.ELASTIC_DOCKER_PASSWORD }}
130130

131131
- uses: actions/download-artifact@v3
132132
with:

0 commit comments

Comments
 (0)