This commit is contained in:
parent
73c3f9ad96
commit
6d37cb0701
1 changed files with 12 additions and 1 deletions
|
@ -16,16 +16,26 @@ jobs:
|
|||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: gitea.simcop2387.info/simcop2387/pg-container-base
|
||||
images: gitea.simcop2387.info/simcop2387/postgresql-container-base
|
||||
tags: |
|
||||
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
|
||||
|
||||
- name: buildx-base
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
|
||||
- name: setup formatted date
|
||||
run: echo $( date -I ) ; echo FMT_DATE=$( date -I ) >> $GITHUB_ENV
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: simcop2387
|
||||
password: ${{ env.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v6
|
||||
with:
|
||||
|
@ -38,3 +48,4 @@ jobs:
|
|||
PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }}
|
||||
DEB_RELEASE=${{ matrix.DEB_RELEASE }}
|
||||
FMT_DATE=${{ env.FMT_DATE }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue