diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5fedcfa..ad524e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,19 +26,19 @@ jobs: type=semver,pattern={{major}}.{{minor}}.{{patch}} type=semver,pattern={{version}} - name: Set up QEMU - uses: docker/setup-qemu-action@v3.0.0 + uses: docker/setup-qemu-action@v3.2.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.1.0 + uses: docker/setup-buildx-action@v3.7.1 - name: Login to DockerHub - uses: docker/login-action@v3.0.0 + uses: docker/login-action@v3.3.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push - uses: docker/build-push-action@v5.2.0 + uses: docker/build-push-action@v6.9.0 with: push: true platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 @@ -66,7 +66,7 @@ jobs: go-version: "${{ env.go_version }}" - name: Binaries Release - uses: goreleaser/goreleaser-action@v5.0.0 + uses: goreleaser/goreleaser-action@v6.0.0 with: version: ~> 1.16.2 args: release --rm-dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44fd7a5..cce68ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,14 +36,14 @@ jobs: run: go test ./... - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.1.0 + uses: docker/setup-buildx-action@v3.7.1 - name: Docker Build Test run: docker buildx build --load --tag test:test --file ./Dockerfile ./ - name: Version if: github.event_name != 'pull_request' - uses: cycjimmy/semantic-release-action@v4.0.0 + uses: cycjimmy/semantic-release-action@v4.1.1 with: semantic_version: 19.0.2 env: diff --git a/Dockerfile b/Dockerfile index bdade8a..b66b88f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.1-alpine AS builder +FROM golang:1.23.2-alpine AS builder WORKDIR /src COPY . . @@ -7,7 +7,7 @@ RUN apk add --no-cache git && \ go mod download && \ CGO_ENABLED=0 go build -ldflags="-s -w" -o "wgcf" -FROM alpine:3.19.1 +FROM alpine:3.20.3 WORKDIR /