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,33 +13,33 @@ 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 : Available platforms
29
29
run : echo ${{steps.qemu.outputs.platforms}}
30
30
31
31
- name : Set up Docker Buildx
32
- uses : docker/setup-buildx-action@v1
32
+ uses : docker/setup-buildx-action@v3
33
33
34
34
- name : Run checks
35
35
run : |
36
36
make ci
37
37
38
38
- name : Build
39
39
env :
40
- REGISTRY : appscodeci
41
- DOCKER_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
40
+ REGISTRY : ghcr.io/ appscodeci
41
+ DOCKER_TOKEN : ${{ secrets.LGTM_GITHUB_TOKEN }}
42
42
USERNAME : 1gtm
43
43
run : |
44
- docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
44
+ docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
45
45
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,13 +25,13 @@ 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 : Available platforms
31
31
run : echo ${{steps.qemu.outputs.platforms}}
32
32
33
33
- name : Set up Docker Buildx
34
- uses : docker/setup-buildx-action@v1
34
+ uses : docker/setup-buildx-action@v3
35
35
36
36
- name : Publish to GitHub Container Registry
37
37
env :
42
42
run : |
43
43
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
44
44
make release
45
-
46
- - name : Publish to Docker Registry
47
- env :
48
- DOCKER_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
49
- USERNAME : 1gtm
50
- APPSCODE_ENV : prod
51
- run : |
52
- docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
53
- make release
You can’t perform that action at this time.
0 commit comments