diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 02a504f..0df9920 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -7,7 +7,6 @@ on: tags: - v* branches: - - master - main pull_request: permissions: @@ -18,7 +17,7 @@ jobs: name: lint strategy: matrix: - go-version: [1.19.x] + go-version: [1.20.x, 1.21.x] platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a3a40bc..63cd72d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20.x - name: Build binary run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build - name: Upload release asset diff --git a/Dockerfile b/Dockerfile index 5467631..b7c0c71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM ghcr.io/blinklabs-io/go:1.19.12-1 AS build +FROM ghcr.io/blinklabs-io/go:1.21.1-1 AS build WORKDIR /code COPY . . RUN make build FROM cgr.dev/chainguard/glibc-dynamic AS chnsd -COPY --from=build /code/chnsd /usr/local/bin/ -ENTRYPOINT ["/usr/local/bin/chnsd"] +COPY --from=build /code/chnsd /bin/ +ENTRYPOINT ["chnsd"] diff --git a/go.mod b/go.mod index 93899f9..7a06572 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/blinklabs-io/chnsd -go 1.19 +go 1.20 require ( github.com/blinklabs-io/gouroboros v0.53.0