From 65c0983467347a05d66cf72616f1c11daadad7be Mon Sep 17 00:00:00 2001 From: Matheus Moraes Date: Wed, 31 Jul 2024 12:12:12 -0300 Subject: [PATCH] chore: specify Go patch version 1.22.5 (#305) * chore: specify Go patch version: 1.22.5 * chore: using floating tags in golang docker image --- cmd/Dockerfile | 2 +- cmd/worker/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/Dockerfile b/cmd/Dockerfile index feca6767..37a2131f 100644 --- a/cmd/Dockerfile +++ b/cmd/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.22 as builder +FROM golang:1.22 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/cmd/worker/Dockerfile b/cmd/worker/Dockerfile index ce23e298..f95556aa 100644 --- a/cmd/worker/Dockerfile +++ b/cmd/worker/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.22 as builder +FROM golang:1.22 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index 3f3da5de..cc7d0901 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/undistro/zora -go 1.22.0 +go 1.22.5 require ( github.com/aquasecurity/trivy v0.51.2