diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1a55aec..a362f25 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -84,7 +84,7 @@ jobs: with: context: cloudflare-utils push: ${{ startsWith(github.ref, 'refs/tags/v') }} - platforms: linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6, linux/386 + platforms: linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6, linux/386, linux/riscv64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} file: cloudflare-utils/dist.Dockerfile diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index 708872b..b11959c 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -55,6 +55,8 @@ jobs: ~\AppData\Local\go-build ~\go\pkg\mod key: go-${{ hashFiles('go.sum') }} + restore-keys: | + go- - name: Install Syft run: choco install syft --yes diff --git a/cmd/cloudflare-utils/.goreleaser.yml b/cmd/cloudflare-utils/.goreleaser.yml index 5a26d61..9950e3c 100644 --- a/cmd/cloudflare-utils/.goreleaser.yml +++ b/cmd/cloudflare-utils/.goreleaser.yml @@ -24,6 +24,9 @@ builds: - '386' - s390x - ppc64le + - riscv64 + - mips64 + - mips64le binary: cloudflare-utils mod_timestamp: '{{ .CommitTimestamp }}' ldflags: diff --git a/dist.Dockerfile b/dist.Dockerfile index 22a7799..8da91e6 100644 --- a/dist.Dockerfile +++ b/dist.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine AS builder +FROM golang:1.23-alpine AS builder WORKDIR /usr/app ENV CGO_ENABLED=0 diff --git a/go.mod b/go.mod index ca8903c..ac50dd5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Cyb3r-Jak3/cloudflare-utils -go 1.21 +go 1.23 require ( github.com/Cyb3r-Jak3/common/v5 v5.2.0