Compare commits

...

2 commits

Author SHA1 Message Date
f4c71c6435 fix(branding): update AGPL source links to match actual repo owner
Some checks failed
Build MapleDeploy Coolify Image / build (push) Has been cancelled
rosslh/coolify is the correct Forgejo repo path
2026-02-08 20:04:59 -05:00
f2a89fcc5e fix(build): update PostgreSQL to 17 for Alpine 3.23, add Forgejo Actions CI
- Alpine 3.23 (in serversideup/php:8.4-fpm-nginx-alpine) ships pg17, not pg15
- Add .forgejo/workflows/build.yml for automated image builds on push to mapledeploy
2026-02-08 20:02:32 -05:00
4 changed files with 45 additions and 3 deletions

View file

@ -0,0 +1,41 @@
name: Build MapleDeploy Coolify Image
on:
push:
branches: [mapledeploy]
paths-ignore:
- "*.md"
- ".github/**"
- "templates/**"
env:
REGISTRY: forgejo.mapledeploy.ca
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get version
id: version
run: |
VERSION=$(docker run --rm -v "$PWD:/app" -w /app php:8.2-alpine3.16 php bootstrap/getVersion.php)
echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
echo "Building version: ${VERSION}"
- name: Login to Forgejo registry
run: |
echo "${{ secrets.FORGEJO_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.repository_owner }} --password-stdin
- name: Build image
run: |
docker build -f docker/production/Dockerfile \
-t ${{ env.REGISTRY }}/${{ github.repository }}:${{ steps.version.outputs.VERSION }} \
-t ${{ env.REGISTRY }}/${{ github.repository }}:latest \
.
- name: Push image
run: |
docker push ${{ env.REGISTRY }}/${{ github.repository }}:${{ steps.version.outputs.VERSION }}
docker push ${{ env.REGISTRY }}/${{ github.repository }}:latest

View file

@ -6,7 +6,8 @@ ARG MINIO_VERSION=RELEASE.2025-05-21T01-59-54Z
# https://github.com/cloudflare/cloudflared/releases
ARG CLOUDFLARED_VERSION=2025.7.0
# https://www.postgresql.org/support/versioning/
ARG POSTGRES_VERSION=15
# MapleDeploy: Alpine 3.23 ships pg17, not pg15
ARG POSTGRES_VERSION=17
# Add user/group
ARG USER_ID=9999

View file

@ -337,7 +337,7 @@ class="{{ request()->is('onboarding*') ? 'menu-item-active menu-item' : 'menu-it
</li> --}}
{{-- MapleDeploy branding: AGPL source code link (license requirement) --}}
<li>
<a title="Source code (AGPL-3.0)" class="menu-item" href="https://forgejo.mapledeploy.ca/mapledeploy/coolify"
<a title="Source code (AGPL-3.0)" class="menu-item" href="https://forgejo.mapledeploy.ca/rosslh/coolify"
target="_blank">
<svg class="menu-item-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path fill="none" stroke="currentColor" stroke-linecap="round"

View file

@ -38,7 +38,7 @@ class="font-bold dark:text-warning">{{ config('constants.limits.trial_period') }
{{-- MapleDeploy branding: link to Forgejo source repo --}}
<h2 id="tier-hobby" class="flex items-start gap-4 text-4xl font-bold tracking-tight">Unlimited Trial
<x-forms.button><a class="font-bold dark:text-white hover:no-underline"
href="https://forgejo.mapledeploy.ca/mapledeploy/coolify">Get Started</a></x-forms.button>
href="https://forgejo.mapledeploy.ca/rosslh/coolify">Get Started</a></x-forms.button>
</h2>
<p class="mt-4 text-sm leading-6">Start self-hosting <span class="dark:text-warning">without limits</span>
with