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:
|
||||
build-base:
|
||||
runs-on: self-hosted
|
||||
matrix:
|
||||
- PG_MAJOR_VERSION:
|
||||
- 17
|
||||
- DEB_RELEASE:
|
||||
- bookworm
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: buildx-base
|
||||
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
|
||||
uses: https://github.com/docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags:
|
||||
- gitea.simcop2387.info/simcop2387/pg-container-base:${PG_MAJOR-VERSION}-${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 }}
|
||||
- gitea.simcop2387.info/simcop2387/pg-container-base:{{ env.PG_MAJOR_VERSION }}-{{ env.DEB_RELEASE }}-{{ env.FMT_DATE }}
|
||||
context: base/
|
||||
dockerfile: base/Dockerfile
|
||||
|
|
Loading…
Add table
Reference in a new issue