diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 50fb2c4..e86979c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,14 +9,15 @@ jobs: runs-on: ubuntu-latest container: # image: golang:1.21 - image: ${{ secrets.DOCKERHUB_USERNAME }}/my-build-golang-runner:latest + # image: ${{ secrets.DOCKERHUB_USERNAME }}/my-build-golang-runner:builder-1.0.32 + image: ${{ secrets.DOCKERHUB_USERNAME }}/my-build-golang-runner:latest + options: --pull-always steps: - name: Checkout repository run: | git clone https://oauth2:${{ secrets.GITEATOKEN }}@direct-dev.ru/gitea/GiteaAdmin/hello_gitea.git hello_gitea cd hello_gitea - git checkout ${{ github.ref }} - docker pull ${{ secrets.DOCKERHUB_USERNAME }}/my-build-golang-runner:latest + git checkout ${{ github.ref }} - name: Setup Go run: | diff --git a/main.go b/main.go index ac9bcc1..97fab0d 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "github.com/gin-gonic/gin" ) -const version = "1.0.32" +const version = "1.0.33" // SystemInfo holds system information type SystemInfo struct { diff --git a/makefile b/makefile index 8e45898..f978726 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,7 @@ BIN_DIR=bin APP_NAME=hello-api -VERSION=1.0.32 +VERSION=1.0.33 build: mkdir -p $(BIN_DIR)