Skip to content

Commit

Permalink
bump go version to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Dec 21, 2023
1 parent cf5919d commit 6095d1c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
contents: write
strategy:
matrix:
go_version: [1.18.x]
go_version: [1.21.x]
runs-on: ubuntu-latest
outputs:
VERSION: ${{steps.vars.outputs.VERSION}}
Expand Down Expand Up @@ -108,6 +108,7 @@ jobs:
with:
context: .
push: true
provenance: false
platforms: linux/amd64
tags: ghcr.io/${{ github.repository }}:beta
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
go_version: [1.18.x]
go_version: [1.21.x]

runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clean_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: snok/container-retention-policy@v2
with:
image-names: ${{steps.vars.outputs.APP_NAME}}
cut-off: A week ago UTC
keep-at-least: 2
cut-off: A month ago UTC
keep-at-least: 5
skip-tags: latest, beta, alpha
account-type: personal
token: ${{ secrets.PAT }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: write
strategy:
matrix:
go_version: [1.18.x]
go_version: [1.21.x]
runs-on: ubuntu-latest
outputs:
VERSION: ${{steps.vars.outputs.VERSION}}
Expand Down Expand Up @@ -194,6 +194,7 @@ jobs:
with:
context: .
push: true
provenance: false
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Skeleton for run go service in docker

## Prerequisite

* Go 1.8+
* Go 1.21+
* Node.js 14+
* Vue3 + daisyUI

Expand Down

0 comments on commit 6095d1c

Please sign in to comment.