File tree Expand file tree Collapse file tree 6 files changed +277
-228
lines changed Expand file tree Collapse file tree 6 files changed +277
-228
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ jobs:
12
12
steps :
13
13
-
14
14
name : Checkout
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v4
16
16
-
17
17
name : Login to Docker Hub
18
- uses : docker/login-action@v1
18
+ uses : docker/login-action@v3
19
19
with :
20
20
username : xcsoft
21
21
password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
22
22
-
23
23
name : Set up Docker Build Context
24
- uses : docker/setup-buildx-action@v1
24
+ uses : docker/setup-buildx-action@v3
25
25
-
26
26
name : Build and push
27
- uses : docker/build-push-action@v2
27
+ uses : docker/build-push-action@v5
28
28
with :
29
29
context : .
30
30
file : ./Dockerfile
35
35
runs-on : ubuntu-latest
36
36
steps :
37
37
- name : Checkout
38
- uses : actions/checkout@v2
38
+ uses : actions/checkout@v4
39
39
40
40
- name : Login to Docker Hub
41
41
if : github.event_name != 'pull_request'
@@ -46,10 +46,10 @@ jobs:
46
46
password : ${{ secrets.GITHUB_TOKEN }}
47
47
48
48
- name : Set up Docker Build Context
49
- uses : docker/setup-buildx-action@v1
49
+ uses : docker/setup-buildx-action@v3
50
50
51
51
- name : Build and push
52
- uses : docker/build-push-action@v2
52
+ uses : docker/build-push-action@v5
53
53
with :
54
54
context : .
55
55
file : ./Dockerfile
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
12
12
steps :
13
13
-
14
14
name : Checkout
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v4
16
16
-
17
17
name : Set up Docker Build Context
18
- uses : docker/setup-buildx-action@v1
18
+ uses : docker/setup-buildx-action@v3
19
19
-
20
20
name : Build
21
- uses : docker/build-push-action@v2
21
+ uses : docker/build-push-action@v5
22
22
with :
23
23
context : .
24
24
file : ./Dockerfile
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN set -evx -o pipefail \
9
9
&& rm -rf /var/cache/apk/* \
10
10
&& go build -ldflags="-s -w" -o busuanzi main.go
11
11
12
- FROM node:16 -alpine as ts-builder
12
+ FROM node:21 -alpine as ts-builder
13
13
WORKDIR /app
14
14
COPY ./dist .
15
15
RUN set -evx -o pipefail \
You can’t perform that action at this time.
0 commit comments