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:
|
||||
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' }}
|
||||
|
|
Loading…
Add table
Reference in a new issue