From 6e54582d1e0048a49140d6b3ee4690dda0d7ac7f Mon Sep 17 00:00:00 2001 From: aunefyren Date: Thu, 21 Dec 2023 13:33:27 +0100 Subject: [PATCH] Bumps --- .github/workflows/docker-image-beta.yml | 4 ++-- .github/workflows/docker-image.yml | 4 ++-- .github/workflows/release.yaml | 4 ++-- Dockerfile | 2 +- go.mod | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-image-beta.yml b/.github/workflows/docker-image-beta.yml index 3a80332..f982f98 100644 --- a/.github/workflows/docker-image-beta.yml +++ b/.github/workflows/docker-image-beta.yml @@ -3,7 +3,7 @@ name: Docker Image for Pushes on: push: branches: [main] - + jobs: build: runs-on: ubuntu-latest @@ -45,7 +45,7 @@ jobs: - name: Replace version variable run: sed -i 's/{{RELEASE_TAG}}/beta-${{ env.GITHUB_SHA_SHORT }}/g' files/config.go # Replace release variable with the name of this release - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5.1.0 with: builder: ${{ steps.buildx.outputs.name }} file: ./Dockerfile diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3862af6..3deef59 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -41,9 +41,9 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GIT_HUB_TOKEN }} - name: Replace version variable - run: sed -i 's/{{RELEASE_TAG}}/${{github.event.release.tag_name}}/g' files/config.go # Replace release variable with the name of this release + run: sed -i 's/{{RELEASE_TAG}}/${{ github.event.release.tag_name }}/g' files/config.go # Replace release variable with the name of this release - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5.1.0 with: builder: ${{ steps.buildx.outputs.name }} file: ./Dockerfile diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2ca6af1..2bbbfaf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,11 +23,11 @@ jobs: github_token: ${{ secrets.GIT_HUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - goversion: "1.20.3" + goversion: "1.21.5" binary_name: "wrapperr" ldflags: "-s -w" extra_files: README.md config web CODE_OF_CONDUCT.md Dockerfile files retry: 10 overwrite: true release_name: ${{ github.ref_name }} - pre_command: sed -i 's/{{RELEASE_TAG}}/${{github.event.release.tag_name}}/g' files/config.go # Replace release variable with the name of this release + pre_command: sed -i 's/{{RELEASE_TAG}}/${{ github.event.release.tag_name }}/g' files/config.go # Replace release variable with the name of this release \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 65995b8..576c505 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.4-bullseye as builder +FROM golang:1.21.5-bullseye as builder ARG TARGETARCH ARG TARGETOS diff --git a/go.mod b/go.mod index af31a3b..2566af3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module aunefyren/wrapperr -go 1.20 +go 1.21 require ( github.com/gin-contrib/cors v1.5.0