postgresql-containers/.forgejo/workflows/build.yml
Ryan Voots 46206e0209
Some checks failed
/ build-base (push) Failing after 8s
vars not env?
2025-05-08 10:47:21 -04:00

25 lines
826 B
YAML

on:
push:
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:${{ vars.PG_MAJOR_VERSION }}-${{ vars.DEB_RELEASE }},gitea.simcop2387.info/simcop2387/pg-container-base:${{ vars.PG_MAJOR_VERSION }}-${{ vars.DEB_RELEASE }}-${{ vars.FMT_DATE }}"
context: base/
dockerfile: base/Dockerfile