Skip to content

Merge pull request #222 from elastic/dependabot/maven/opbeans/io.open… #84

Merge pull request #222 from elastic/dependabot/maven/opbeans/io.open…

Merge pull request #222 from elastic/dependabot/maven/opbeans/io.open… #84

Workflow file for this run

name: release
on:
push:
branches: [ "main" ]
create:
tags: [ "v*" ]
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: elastic/apm-pipeline-library/.github/actions/docker-login@current
with:
registry: docker.io
secret: secret/apm-team/ci/elastic-observability-dockerhub
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
- name: Set version if tags
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
if: startsWith(github.ref, 'refs/tags/v')
- name: Run publish
run: make publish