Skip to content

Commit

Permalink
Build using Golang 1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot committed Feb 8, 2024
1 parent 9a9eb3e commit 21fa5a6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: ${{ matrix.os }}
options: -v ${{ github.workspace }}:/build -e GOVERSION=1.21.3
options: -v ${{ github.workspace }}:/build -e GOVERSION=1.22.0
run: |
echo "[safe]" > /root/.gitconfig
echo " directory = /build" >> /root/.gitconfig
Expand Down
2 changes: 1 addition & 1 deletion docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ docker run -it --rm --name cozy-stack \
--workdir /app \
-v $(pwd):/app \
-v $(pwd):/go/bin \
golang:1.21 \
golang:1.22 \
go get -v github.com/cozy/cozy-stack
```

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/cozy-app-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


# Multi-stage image: this step builds cozy-stack (and mailhog)
FROM golang:1.21-bullseye as build
FROM golang:1.22-bullseye as build
WORKDIR /app

# MailHog
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


# Multi-stage image: this step builds cozy-stack
FROM golang:1.21-bookworm as build
FROM golang:1.22-bookworm as build
WORKDIR /app

# Use docker layer caching to avoid redownloading go modules if the code has
Expand Down
2 changes: 1 addition & 1 deletion scripts/packaging/installrequirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

GOVERSION="${GOVERSION:-1.21.3}"
GOVERSION="${GOVERSION:-1.22.0}"

cd "$(dirname $0)/../.."
if [ -f debian/changelog ]; then
Expand Down

0 comments on commit 21fa5a6

Please sign in to comment.