Skip to content

Commit aaf7583

Browse files
authored
Update github action modules (#2237) (#2243)
/cherry-pick Signed-off-by: 1gtm <1gtm@appscode.com> Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 3eb3037 commit aaf7583

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,30 @@ jobs:
1313
name: Build
1414
runs-on: ubuntu-20.04
1515
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
1818
with:
1919
go-version: '1.22'
2020
id: go
2121

22-
- uses: actions/checkout@v1
22+
- uses: actions/checkout@v4
2323

2424
- name: Set up QEMU
2525
id: qemu
26-
uses: docker/setup-qemu-action@v1
26+
uses: docker/setup-qemu-action@v3
2727

2828
- name: Set up Docker Buildx
29-
uses: docker/setup-buildx-action@v1
29+
uses: docker/setup-buildx-action@v3
3030

3131
- name: Run checks
3232
run: |
3333
make ci
3434
3535
- name: Build
3636
env:
37-
REGISTRY: appscodeci
38-
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
37+
REGISTRY: ghcr.io/appscodeci
38+
DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
3939
USERNAME: 1gtm
4040
run: |
41-
docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
41+
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
4242
make push

.github/workflows/release-tracker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-20.04
1010

1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
1313

1414
- name: Prepare git
1515
env:

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
2626
- name: Set up QEMU
2727
id: qemu
28-
uses: docker/setup-qemu-action@v1
28+
uses: docker/setup-qemu-action@v3
2929

3030
- name: Set up Docker Buildx
31-
uses: docker/setup-buildx-action@v1
31+
uses: docker/setup-buildx-action@v3
3232

3333
- name: Publish to GitHub Container Registry
3434
env:
@@ -39,12 +39,3 @@ jobs:
3939
run: |
4040
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
4141
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

0 commit comments

Comments
 (0)