Skip to content

Commit 5cee245

Browse files
appleboyclaude
andcommitted
ci(workflows): upgrade GitHub Actions to latest versions
- Upgrade docker/setup-qemu-action from v3 to v4 - Upgrade docker/setup-buildx-action from v3 to v4 - Upgrade docker/login-action from v3 to v4 - Upgrade docker/metadata-action from v5 to v6 - Upgrade docker/build-push-action from v6 to v7 - Upgrade goreleaser/goreleaser-action from v6 to v7 - Upgrade aquasecurity/trivy-action from 0.33.1 to 0.35.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aa90854 commit 5cee245

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,27 @@ jobs:
3030
make build_linux_amd64
3131
make build_linux_arm64
3232
- name: Set up QEMU
33-
uses: docker/setup-qemu-action@v3
33+
uses: docker/setup-qemu-action@v4
3434

3535
- name: Set up Docker Buildx
36-
uses: docker/setup-buildx-action@v3
36+
uses: docker/setup-buildx-action@v4
3737

3838
- name: Login to Docker Hub
39-
uses: docker/login-action@v3
39+
uses: docker/login-action@v4
4040
with:
4141
username: ${{ secrets.DOCKERHUB_USERNAME }}
4242
password: ${{ secrets.DOCKERHUB_TOKEN }}
4343

4444
- name: Login to GitHub Container Registry
45-
uses: docker/login-action@v3
45+
uses: docker/login-action@v4
4646
with:
4747
registry: ghcr.io
4848
username: ${{ github.repository_owner }}
4949
password: ${{ secrets.GITHUB_TOKEN }}
5050

5151
- name: Docker meta
5252
id: docker-meta
53-
uses: docker/metadata-action@v5
53+
uses: docker/metadata-action@v6
5454
with:
5555
images: |
5656
${{ github.repository }}
@@ -62,7 +62,7 @@ jobs:
6262
type=semver,pattern={{major}}
6363
6464
- name: Build and push
65-
uses: docker/build-push-action@v6
65+
uses: docker/build-push-action@v7
6666
with:
6767
context: .
6868
platforms: linux/amd64,linux/arm64

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
go-version: "^1"
2424

2525
- name: Run GoReleaser
26-
uses: goreleaser/goreleaser-action@v6
26+
uses: goreleaser/goreleaser-action@v7
2727
with:
2828
# either 'goreleaser' (default) or 'goreleaser-pro'
2929
distribution: goreleaser

.github/workflows/trivy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fetch-depth: 0
2828

2929
- name: Run Trivy vulnerability scanner (source code)
30-
uses: aquasecurity/trivy-action@0.33.1
30+
uses: aquasecurity/trivy-action@0.35.0
3131
with:
3232
scan-type: "fs"
3333
scan-ref: "."
@@ -44,7 +44,7 @@ jobs:
4444
sarif_file: "trivy-results.sarif"
4545

4646
- name: Run Trivy scanner (table output for logs)
47-
uses: aquasecurity/trivy-action@0.33.1
47+
uses: aquasecurity/trivy-action@0.35.0
4848
if: always()
4949
with:
5050
scan-type: "fs"

0 commit comments

Comments
 (0)