Skip to content

Commit

Permalink
Align Docker images in ghcr pipeline with images assumed in Dockerfile (
Browse files Browse the repository at this point in the history
#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 d60b424.

Should fix problem with `publish_ghcr_image` workflow. 

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

* Use latest Alpine version for Postgres-Operator

Similar to commit 601ce0d, align image version in Github Actions pipeline with assumed default version in Dockerfile, using latest [Alpine 3](https://hub.docker.com/_/alpine).
  • Loading branch information
macedigital committed Jun 14, 2024
1 parent 2e1583e commit eee1ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_ghcr_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

Expand Down

0 comments on commit eee1ef2

Please sign in to comment.