File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 14
14
jobs :
15
15
release :
16
16
runs-on : ubuntu-22.04
17
+ permissions :
18
+ contents : write
19
+ packages : write
17
20
18
21
steps :
19
22
- uses : actions/checkout@v4
20
23
- uses : actions/setup-go@v5
21
24
with :
22
25
go-version : 1.21
23
26
24
- - name : Login on Docker Hub
25
- uses : docker/login-action@v3
26
- with :
27
- username : ${{ secrets.DOCKER_USERNAME }}
28
- password : ${{ secrets.DOCKER_PASSWORD }}
29
27
- name : Login on GHCR
30
28
uses : docker/login-action@v3
31
29
with :
32
30
registry : ghcr.io
33
31
username : ${{ github.actor }}
34
- password : ${{ secrets.CR_PAT }}
32
+ password : ${{ secrets.GITHUB_TOKEN }}
35
33
36
34
- name : Install dependencies
37
35
run : |
Original file line number Diff line number Diff line change @@ -40,11 +40,8 @@ dockers:
40
40
- ' --label=org.opencontainers.image.url=https://manael.org/'
41
41
- ' --label=org.opencontainers.image.version={{.Version}}'
42
42
image_templates :
43
- - ' manael/{{ .ProjectName }}:latest'
44
43
- ' ghcr.io/manaelproxy/{{ .ProjectName }}:latest'
45
- - ' manael/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
46
44
- ' ghcr.io/manaelproxy/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
47
- - ' manael/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}'
48
45
- ' ghcr.io/manaelproxy/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}'
49
46
dockerfile : Dockerfile
50
47
ids :
You can’t perform that action at this time.
0 commit comments