-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 1019 Bytes
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
on:
push:
branches:
- main
paths-ignore:
- Makefile
- '.github/**'
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tags: "${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}"
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: rust
package-name: alertmanager-webhook
publish-latest:
name: Publish latest container image
needs: release-please
uses: pabrahamsson/alertmanager-webhook/.github/workflows/docker-publish.yml@main
publish-release:
name: Publish versioned container image
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: pabrahamsson/alertmanager-webhook/.github/workflows/docker-publish.yml@main
with:
tags: ${{ needs.release-please.outputs.tags }}