Skip to content

Commit 8e62c55

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

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,33 +13,33 @@ 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: Available platforms
2929
run: echo ${{steps.qemu.outputs.platforms}}
3030

3131
- name: Set up Docker Buildx
32-
uses: docker/setup-buildx-action@v1
32+
uses: docker/setup-buildx-action@v3
3333

3434
- name: Run checks
3535
run: |
3636
make ci
3737
3838
- name: Build
3939
env:
40-
REGISTRY: appscodeci
41-
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
40+
REGISTRY: ghcr.io/appscodeci
41+
DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
4242
USERNAME: 1gtm
4343
run: |
44-
docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
44+
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
4545
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,13 +25,13 @@ 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: Available platforms
3131
run: echo ${{steps.qemu.outputs.platforms}}
3232

3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@v3
3535

3636
- name: Publish to GitHub Container Registry
3737
env:
@@ -42,12 +42,3 @@ jobs:
4242
run: |
4343
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
4444
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

0 commit comments

Comments
 (0)