Skip to content

Commit

Permalink
github: use docker github secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed May 30, 2024
1 parent ef9d458 commit cb98fac
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ jobs:
- name: Release to Nuget
run: .ci/linux/deploy.sh ${REPO_API_KEY} ${REPO_API_URL}

- uses: elastic/apm-pipeline-library/.github/actions/docker-login@current
- name: Log in to the Elastic Container registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: docker.elastic.co
secret: secret/observability-team/ci/docker-registry/prod
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
registry: ${{ secrets.ELASTIC_DOCKER_REGISTRY }}
username: ${{ secrets.ELASTIC_DOCKER_USERNAME }}
password: ${{ secrets.ELASTIC_DOCKER_PASSWORD }}

- name: Build Profiler Docker Image
continue-on-error: true #continue for now until we see it working in action
Expand Down

0 comments on commit cb98fac

Please sign in to comment.