setup build-args
This commit is contained in:
parent
0650f42f99
commit
baae480959
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: gitea.simcop2387.info/simcop2387/pg-container-base
|
images: gitea.simcop2387.info/simcop2387/pg-container-base
|
||||||
tags: |
|
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' }}
|
type=raw,value=${{ matrix.PG_MAJOR_VERSION }}-${{ matrix.DEB_RELEASE }}-{{ date 'YYYY-MM-DD' }}
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -32,3 +32,7 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
context: base/
|
context: base/
|
||||||
dockerfile: base/Dockerfile
|
dockerfile: base/Dockerfile
|
||||||
|
build-args:
|
||||||
|
- PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }}
|
||||||
|
- DEB_RELEASE=${{ matrix.DEB_RELEASE }}
|
||||||
|
- FMT_DATE={{ date 'YYYY-MM-DD' }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue