Skip to content

github-action: run buildkite action with GH secrets (#1628) #147

github-action: run buildkite action with GH secrets (#1628)

github-action: run buildkite action with GH secrets (#1628) #147

Workflow file for this run

---
# Publish a snapshot. A "snapshot" is a packaging of the latest *unreleased* APM agent,
# published to a known GCS bucket for use in edge demo/test environments.
name: Snapshoty
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- '*.asciidoc'
- 'docs/**'
permissions:
contents: read
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: '**/go.sum'
- name: Create snapshot tarball
run: ./scripts/ci/package.sh
- name: Publish snaphosts
uses: elastic/apm-pipeline-library/.github/actions/snapshoty-simple@current
with:
config: '.ci/snapshoty.yml'
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}