Build FROM more specific tag

This commit is contained in:
bo0tzz
2023-11-27 10:55:19 +00:00
parent fcca069ef4
commit c0e7add623
2 changed files with 3 additions and 2 deletions

View File

@@ -85,5 +85,6 @@ jobs:
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
build-args: |
CNPG_TAG=${{ matrix.cnpgTag }}
PG_MAJOR=${{ steps.version.outputs.pg_major }}
PGVECTORS_TAG=${{ matrix.pgvectorsVersion }}

View File

@@ -1,6 +1,6 @@
ARG PG_MAJOR=14
ARG CNPG_TAG
FROM ghcr.io/cloudnative-pg/postgresql:$PG_MAJOR
FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
ARG PG_MAJOR
ARG PGVECTORS_TAG