From 4ffe8bc943beb94fcbb72d13b1d7f52068ffb6e8 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Thu, 8 May 2025 12:29:45 -0400 Subject: [PATCH] Copy /usr/local/ also --- .forgejo/workflows/build.yml | 67 +++++++++++++++++++++++++++++++++--- general/Dockerfile | 24 +++++++++++-- 2 files changed, 83 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 0ca0554..b8838e8 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -1,15 +1,24 @@ on: push: +matrix: + PG_MAJOR_VERSION: + - 17 + DEB_RELEASE: + - bookworm + POSTGIS_VERSiON: + - 3.5.2 + TO> $GITHUB_ENV + + - name: Login to Docker Hub + uses: https://github.com/docker/login-action@v3 + with: + registry: gitea.simcop2387.info + username: simcop2387 + password: ${{ secrets.DOCKER_TOKEN }} + + - name: Build and push + uses: https://github.com/docker/build-push-action@v6 + with: + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + context: general/ + dockerfile: general/Dockerfile + build-args: | + PG_MAJOR_VERSION=${{ matrix.PG_MAJOR_VERSION }} + DEB_RELEASE=${{ matrix.DEB_RELEASE }} + FMT_DATE=${{ env.FMT_DATE }} + POSTGIS_VERSiON=${{ matrix.POSTGIS_VERSiON }} + TO