1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

Upload bundle.yaml when a release is created

This commit adds a Github workflow which uploads the manifests in
bundle.yaml to a release once it is created.
This commit is contained in:
fpetkovski
2021-12-22 08:33:39 +01:00
parent 2421947e35
commit c801104b24

21
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: release
on:
release:
types:
- created
jobs:
upload-assets:
runs-on: ubuntu-latest
name: Upload release assets
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bundle.yaml
asset_name: bundle.yaml
tag: ${{ github.ref }}
overwrite: true