Skip to content

Commit

Permalink
Merge pull request #1874 from openziti/update-go-version-catchup
Browse files Browse the repository at this point in the history
Update go version catchup
  • Loading branch information
plorenz authored Mar 25, 2024
2 parents 4c2de9f + fb44dd9 commit 7f0e7b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
shell: bash
run: sudo apt-get update && sudo apt-get install --yes zsh

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'

- name: Build and run a quickstart container image
shell: bash
run: ./quickstart/test/compose-test.zsh
Expand Down
2 changes: 1 addition & 1 deletion dist/docker-images/cross-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM debian:bullseye-slim
#

ARG TARGETARCH
ARG golang_version=1.21.5
ARG golang_version=1.22.1
ARG go_distribution_file=go${golang_version}.linux-${TARGETARCH}.tar.gz
ARG go_path=/usr/share/go
ARG go_root=/usr/local/go
Expand Down
2 changes: 1 addition & 1 deletion quickstart/docker/all-in-one/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Change `Dockerfile` like this, and run `ZITI_QUICK_TAG=local docker compose up -
checked-out source tree and run the quickstart with the build.
```dockerfile
FROM golang:1.21-bookworm AS builder
FROM golang:1.22-bookworm AS builder
ARG ARTIFACTS_DIR=./build
WORKDIR /app
COPY go.mod go.sum ./
Expand Down
6 changes: 5 additions & 1 deletion quickstart/docker/createLocalImage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail

set -o errexit
set -o nounset
set -o pipefail
# set -o xtrace

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
ZITI_BIN="${SCRIPT_DIR}/image/ziti-bin"
Expand Down

0 comments on commit 7f0e7b9

Please sign in to comment.