From eee1ef2e212c8c90bbb2ad17a0c3c1c1e8bd18dc Mon Sep 17 00:00:00 2001 From: Matthias Adler Date: Fri, 14 Jun 2024 10:25:55 +0200 Subject: [PATCH] Align Docker images in ghcr pipeline with images assumed in Dockerfile (#2663) * PG-UI switch to official Python image Commit changes build argument for Github Actions to use the same [official Python image][1] as the one used for building "postgres-operator-ui" since commit d60b424d7957d715003d9e5597bd5b5d63b6e250. Should fix problem with `publish_ghcr_image` workflow. [1]: https://hub.docker.com/_/python * Use latest Alpine version for Postgres-Operator Similar to commit 601ce0d3214af032143b74d42ced0528542a3c1b, align image version in Github Actions pipeline with assumed default version in Dockerfile, using latest [Alpine 3](https://hub.docker.com/_/alpine). --- .github/workflows/publish_ghcr_image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_ghcr_image.yaml b/.github/workflows/publish_ghcr_image.yaml index 245d30fc3..a36e9757e 100644 --- a/.github/workflows/publish_ghcr_image.yaml +++ b/.github/workflows/publish_ghcr_image.yaml @@ -65,7 +65,7 @@ jobs: context: . file: docker/Dockerfile push: true - build-args: BASE_IMAGE=alpine:3.15 + build-args: BASE_IMAGE=alpine:3 tags: "${{ steps.image.outputs.OPERATOR_IMAGE }}" platforms: linux/amd64,linux/arm64 @@ -74,7 +74,7 @@ jobs: with: context: ui push: true - build-args: BASE_IMAGE=alpine:3.15 + build-args: BASE_IMAGE=python:3.11-slim tags: "${{ steps.image_ui.outputs.UI_IMAGE }}" platforms: linux/amd64,linux/arm64