Actions need different style here, used to woodpecker still

This commit is contained in:
Ryan Voots 2025-05-08 10:41:33 -04:00
parent 693cdb891f
commit f5e19ed357

View file

@ -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