@@ -3,9 +3,9 @@ name: release-tag-version
3
3
on :
4
4
push :
5
5
tags :
6
- - ' v1.*'
7
- - ' !v1*-rc*'
8
- - ' !v1*-dev'
6
+ - " v1.*"
7
+ - " !v1*-rc*"
8
+ - " !v1*-dev"
9
9
10
10
concurrency :
11
11
group : ${{ github.workflow }}-${{ github.ref }}
23
23
with :
24
24
go-version-file : go.mod
25
25
check-latest : true
26
- - uses : actions/setup-node@v3
26
+ - uses : actions/setup-node@v4
27
27
with :
28
28
node-version : 20
29
29
- run : make deps-frontend deps-backend
33
33
TAGS : bindata sqlite sqlite_unlock_notify
34
34
- name : import gpg key
35
35
id : import_gpg
36
- uses : crazy-max/ghaction-import-gpg@v5
36
+ uses : crazy-max/ghaction-import-gpg@v6
37
37
with :
38
38
gpg_private_key : ${{ secrets.GPGSIGN_KEY }}
39
39
passphrase : ${{ secrets.GPGSIGN_PASSPHRASE }}
70
70
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
71
71
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
72
72
- run : git fetch --unshallow --quiet --tags --force
73
- - uses : docker/setup-qemu-action@v2
74
- - uses : docker/setup-buildx-action@v2
73
+ - uses : docker/setup-qemu-action@v3
74
+ - uses : docker/setup-buildx-action@v3
75
75
- uses : docker/metadata-action@v5
76
76
id : meta
77
77
with :
@@ -87,12 +87,12 @@ jobs:
87
87
type=semver,pattern={{major}}.{{minor}}
88
88
type=semver,pattern={{version}}
89
89
- name : Login to Docker Hub
90
- uses : docker/login-action@v2
90
+ uses : docker/login-action@v3
91
91
with :
92
92
username : ${{ secrets.DOCKERHUB_USERNAME }}
93
93
password : ${{ secrets.DOCKERHUB_TOKEN }}
94
94
- name : build rootful docker image
95
- uses : docker/build-push-action@v4
95
+ uses : docker/build-push-action@v5
96
96
with :
97
97
context : .
98
98
platforms : linux/amd64,linux/arm64
@@ -106,8 +106,8 @@ jobs:
106
106
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
107
107
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
108
108
- run : git fetch --unshallow --quiet --tags --force
109
- - uses : docker/setup-qemu-action@v2
110
- - uses : docker/setup-buildx-action@v2
109
+ - uses : docker/setup-qemu-action@v3
110
+ - uses : docker/setup-buildx-action@v3
111
111
- uses : docker/metadata-action@v5
112
112
id : meta
113
113
with :
@@ -126,12 +126,12 @@ jobs:
126
126
type=semver,pattern={{major}}.{{minor}}
127
127
type=semver,pattern={{version}}
128
128
- name : Login to Docker Hub
129
- uses : docker/login-action@v2
129
+ uses : docker/login-action@v3
130
130
with :
131
131
username : ${{ secrets.DOCKERHUB_USERNAME }}
132
132
password : ${{ secrets.DOCKERHUB_TOKEN }}
133
133
- name : build rootless docker image
134
- uses : docker/build-push-action@v4
134
+ uses : docker/build-push-action@v5
135
135
with :
136
136
context : .
137
137
platforms : linux/amd64,linux/arm64
0 commit comments