-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 963 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
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: googleapis/release-please-action@v4
id: release
with:
release-type: rust
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 }}