From baae4809597e1d05754b3d2300fbf9579c40217c Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Thu, 8 May 2025 11:11:38 -0400 Subject: [PATCH] setup build-args --- .forgejo/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 78ad307..6429534 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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' }}