Actions need different style here, used to woodpecker still
This commit is contained in:
parent
693cdb891f
commit
f5e19ed357
1 changed files with 9 additions and 2 deletions
|
@ -4,17 +4,24 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-base:
|
build-base:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
matrix:
|
||||||
|
- PG_MAJOR_VERSION:
|
||||||
|
- 17
|
||||||
|
- DEB_RELEASE:
|
||||||
|
- bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: buildx-base
|
- name: buildx-base
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
|
- name: setup variables
|
||||||
|
run: echo "FMT_DATE=2025-05-11" >> $GITHUB_ENV
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://github.com/docker/build-push-action@v6
|
uses: https://github.com/docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags:
|
tags:
|
||||||
- gitea.simcop2387.info/simcop2387/pg-container-base:${PG_MAJOR-VERSION}-${DEB_RELEASE}
|
- gitea.simcop2387.info/simcop2387/pg-container-base:{{ env.PG_MAJOR_VERSION }}-{{ env.DEB_RELEASE }}
|
||||||
- gitea.simcop2387.info/simcop2387/pg-container-base:${PG_MAJOR-VERSION}-${DEB_RELEASE}-${FMT_DATE}
|
- gitea.simcop2387.info/simcop2387/pg-container-base:{{ env.PG_MAJOR_VERSION }}-{{ env.DEB_RELEASE }}-{{ env.FMT_DATE }}
|
||||||
context: base/
|
context: base/
|
||||||
dockerfile: base/Dockerfile
|
dockerfile: base/Dockerfile
|
||||||
|
|
Loading…
Add table
Reference in a new issue