-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 988 Bytes
/
release.yaml
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
38
on:
push:
branches:
- master
name: Publish Image
jobs:
dockerpush:
name: docker build
runs-on: ubuntu-latest
steps:
-
uses: actions/[email protected]
-
uses: go-semantic-release/[email protected]
id: version
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
-
run: echo "Pushing version ${{ steps.version.outputs.version }}"
-
name: Publish to Registry
uses: elgohr/[email protected]
with:
registry: ghcr.io
name: "ghcr.io/ironpeakservices/iron-scratch:${{ steps.version.outputs.version }}"
username: hazcod
password: ${{ secrets.PACKAGE_TOKEN }}
-
name: Create GitHub release
uses: actions/[email protected]
with:
tag_name: ${{ steps.version.outputs.version }}
release_name: iron-scratch
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}