File tree 3 files changed +9
-3
lines changed 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Release Container Image
2
3
3
4
on :
11
12
12
13
jobs :
13
14
container :
15
+ permissions :
16
+ packages : write
14
17
runs-on : ubuntu-latest
15
18
steps :
16
19
- name : Checkout
42
45
uses : docker/login-action@v3
43
46
with :
44
47
registry : ghcr.io
45
- username : ${{ github.repository_owner }}
48
+ username : ${{ github.actor }}
46
49
password : ${{ secrets.GITHUB_TOKEN }}
47
50
if : ${{ github.event_name != 'pull_request' }}
48
51
62
65
if : ${{ github.event_name != 'pull_request' }}
63
66
64
67
- name : Build and push
65
- id : docker_build_ghcr
66
68
uses : docker/build-push-action@v6
67
69
with :
68
70
context : .
Original file line number Diff line number Diff line change
1
+ ---
1
2
# runs on each push to main and is responsible for creating new tags/releases
2
3
name : Create Semantic Release
3
4
9
10
jobs :
10
11
semantic-release :
11
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : write
12
15
steps :
13
16
- name : Checkout
14
17
uses : actions/checkout@v4
18
21
id : semrel
19
22
uses : go-semantic-release/action@v1.24
20
23
with :
21
- github-token : ${{ secrets.PAT }}
24
+ github-token : ${{ secrets.GITHUB_TOKEN }}
22
25
allow-initial-development-versions : true
Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Shellcheck
2
3
on : pull_request
3
4
jobs :
You can’t perform that action at this time.
0 commit comments