File tree Expand file tree Collapse file tree 3 files changed +11
-20
lines changed Expand file tree Collapse file tree 3 files changed +11
-20
lines changed Original file line number Diff line number Diff line change @@ -13,30 +13,30 @@ jobs:
13
13
name : Build
14
14
runs-on : ubuntu-20.04
15
15
steps :
16
- - name : Set up Go 1.22
17
- uses : actions/setup-go@v1
16
+ - name : Set up Go 1.23
17
+ uses : actions/setup-go@v5
18
18
with :
19
19
go-version : ' 1.22'
20
20
id : go
21
21
22
- - uses : actions/checkout@v1
22
+ - uses : actions/checkout@v4
23
23
24
24
- name : Set up QEMU
25
25
id : qemu
26
- uses : docker/setup-qemu-action@v1
26
+ uses : docker/setup-qemu-action@v3
27
27
28
28
- name : Set up Docker Buildx
29
- uses : docker/setup-buildx-action@v1
29
+ uses : docker/setup-buildx-action@v3
30
30
31
31
- name : Run checks
32
32
run : |
33
33
make ci
34
34
35
35
- name : Build
36
36
env :
37
- REGISTRY : appscodeci
38
- DOCKER_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
37
+ REGISTRY : ghcr.io/ appscodeci
38
+ DOCKER_TOKEN : ${{ secrets.LGTM_GITHUB_TOKEN }}
39
39
USERNAME : 1gtm
40
40
run : |
41
- docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
41
+ docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
42
42
make push
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-20.04
10
10
11
11
steps :
12
- - uses : actions/checkout@v1
12
+ - uses : actions/checkout@v4
13
13
14
14
- name : Prepare git
15
15
env :
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ jobs:
25
25
26
26
- name : Set up QEMU
27
27
id : qemu
28
- uses : docker/setup-qemu-action@v1
28
+ uses : docker/setup-qemu-action@v3
29
29
30
30
- name : Set up Docker Buildx
31
- uses : docker/setup-buildx-action@v1
31
+ uses : docker/setup-buildx-action@v3
32
32
33
33
- name : Publish to GitHub Container Registry
34
34
env :
39
39
run : |
40
40
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
41
41
make release
42
-
43
- - name : Publish to Docker Registry
44
- env :
45
- DOCKER_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
46
- USERNAME : 1gtm
47
- APPSCODE_ENV : prod
48
- run : |
49
- docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
50
- make release
You can’t perform that action at this time.
0 commit comments