setup build-args

This commit is contained in:
Ryan Voots 2025-05-08 11:11:38 -04:00
parent 0650f42f99
commit baae480959

View file

@ -18,7 +18,7 @@ jobs:
with:
images: gitea.simcop2387.info/simcop2387/pg-container-base
tags: |
type=raw,value=${{ matrix.PG_MAJOR_VERSION }}-${{ matrix.sDEB_RELEASE }}
type=raw,value=${{ matrix.PG_MAJOR_VERSION }}-${{ matrix.DEB_RELEASE }}
type=raw,value=${{ matrix.PG_MAJOR_VERSION }}-${{ matrix.DEB_RELEASE }}-{{ date 'YYYY-MM-DD' }}
- name: checkout
uses: actions/checkout@v4
@ -32,3 +32,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
context: base/
dockerfile: base/Dockerfile
build-args:
- PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }}
- DEB_RELEASE=${{ matrix.DEB_RELEASE }}
- FMT_DATE={{ date 'YYYY-MM-DD' }}