-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 866 Bytes
/
release.yml
File metadata and controls
37 lines (34 loc) · 866 Bytes
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
on:
push:
branches:
- main
- develop
jobs:
release:
permissions:
contents: write
packages: write
id-token: write
name: Release
uses: ctfpilot/ci/.github/workflows/release.yml@v1.3.0
secrets:
RELEASE_GH_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
with:
repository: ctfpilot/error-fallback
ENVIRONMENT: Release
docker:
name: Docker build and push
needs:
- release
uses: ctfpilot/ci/.github/workflows/docker.yml@v1.3.0
if: needs.release.outputs.version != '' && needs.release.outputs.version != null
permissions:
contents: read
packages: write
id-token: write
with:
repository: ctfpilot/error-fallback
semver: ${{ needs.release.outputs.version }}
arguments: |
VERSION=${{ needs.release.outputs.version }}