diff --git a/2 b/2 deleted file mode 100644 index 49b001a..0000000 --- a/2 +++ /dev/null @@ -1,39 +0,0 @@ -name: Release gau - -on: - push: - tags: - - "*" - -jobs: - build: - name: GoReleaser build - runs-on: ubuntu-latest - - steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - with: - fetch-depth: 0 # See: https://goreleaser.com/ci/actions/ - - - name: Set up Go 1.21.0 - uses: actions/setup-go@v2 - with: - go-version: 1.21.0 - id: go - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v4 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.GPG_PASSPHRASE }} - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@master - with: - version: latest - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/Dockerfile b/Dockerfile index 9c82bb8..f7f73da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -# Build image: golang:1.14-alpine3.13 -FROM golang:1.17-alpine3.15 as build +# Build image: golang:1.21.0-alpine3.17 +FROM golang:1.21.0-alpine3.17 as build WORKDIR /app @@ -8,8 +8,8 @@ RUN go mod download && go build -o ./build/gau ./cmd/gau ENTRYPOINT ["/app/gau/build/gau"] -# Release image: alpine:3.14.1 -FROM alpine:3.14.1 +# Release image: alpine:3.17 +FROM alpine:3.17 RUN apk -U upgrade --no-cache COPY --from=build /app/build/gau /usr/local/bin/gau