Skip to content

Commit

Permalink
images: Bump golang base image to 1.19 for ansible-operator images
Browse files Browse the repository at this point in the history
Project uses 1.19 when building locally but still use 1.18 for images
pushed to Quay

Resolves operator-framework#6397
  • Loading branch information
pit1sIBM committed Apr 17, 2023
1 parent 82b28e8 commit 10ffac8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog/fragments/image-ansible-operator-go-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
entries:
- description: >
Bump the golang base image version in the ansible-operator Dockerfiles from 1.18 to 1.19
kind: "change"
breaking: false
2 changes: 1 addition & 1 deletion images/ansible-operator-2.11-preview/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.18 as builder
FROM --platform=$BUILDPLATFORM golang:1.19 as builder
ARG TARGETARCH

WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion images/ansible-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.18 as builder
FROM --platform=$BUILDPLATFORM golang:1.19 as builder
ARG TARGETARCH

WORKDIR /workspace
Expand Down

0 comments on commit 10ffac8

Please sign in to comment.