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 d60b424d79.

Should fix problem with `publish_ghcr_image` workflow. 

[1]: https://hub.docker.com/_/python

* Use latest Alpine version for Postgres-Operator

Similar to commit 601ce0d321, align image version in Github Actions pipeline with assumed default version in Dockerfile, using latest [Alpine 3](https://hub.docker.com/_/alpine).
This commit is contained in:
Matthias Adler 2024-06-14 10:25:55 +02:00 committed by GitHub
parent 2e1583e9c0
commit eee1ef2e21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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