-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 959 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
35
36
37
name: Release please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
name: Release please
runs-on: ubuntu-latest
outputs:
release: ${{ steps.release.outputs.release_created }}
releases: ${{ steps.release.outputs.releases_created }}
version: ${{ steps.release.outputs.version }}
tag: ${{ steps.release.outputs.tag_name }}
steps:
- name: Release please
uses: google-github-actions/release-please-action@v3
id: release
with:
command: manifest
trigger-docker:
name: Build & Publish ${{ matrix.docker.name }} to Docker Hub
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.release
steps:
- name: Call Build & Publish to Docker Hub from Tag
uses: ./manually-build-docker.yml
with:
tag: ${{ needs.release-please.outputs.version }}