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:
21
.github/workflows/release.yaml
vendored
Normal file
21
.github/workflows/release.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user