ci: remove container publication workflows
CI / check (push) Failing after 1m26s
CI / preflight (push) Skipped
CI / deploy (push) Skipped

This commit is contained in:
Simo committed 2026-09-14 21:28:21 +02:00
1 parent cfb4c36569
commit fff284aaa0
4 files changed
+2 -195

No files matched your search

-23
View File
@@ -150,26 +150,3 @@ jobs:
path: build-reports/
if-no-files-found: warn
retention-days: 14
# Publish only after checks and the production deployment have succeeded.
# Serial execution also avoids two builds competing on the self-hosted runner.
publish-container:
needs: deploy
if: gitea.event_name == 'push' && (gitea.ref_name == 'main' || gitea.ref_name == 'master')
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ gitea.repository }}
token: ${{ gitea.token }}
- name: Build, verify portability and publish
shell: bash
env:
REGISTRY_SERVER: ${{ gitea.server_url }}
REGISTRY_REPOSITORY: ${{ gitea.repository }}
REGISTRY_NAMESPACE: ${{ vars.CONTAINER_REGISTRY_NAMESPACE }}
REGISTRY_USER: ${{ secrets.CONTAINER_REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
run: bash scripts/publish-container.sh
-35
View File
@@ -1,35 +0,0 @@
name: Publish portable container
on:
workflow_dispatch:
jobs:
publish:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ gitea.repository }}
token: ${{ gitea.token }}
- name: Install and verify
run: |
node scripts/check-node-toolchain.mjs
pnpm install --frozen-lockfile
pnpm typecheck
pnpm biome:lint
pnpm test:coverage
env:
SKIP_ENV_VALIDATION: 1
NODE_ENV: test
DATABASE_URL: mysql://test:[email protected]:9/test
AUTH_SECRET: container-test-secret-at-least-32-characters
- name: Build, verify portability and publish
shell: bash
env:
REGISTRY_SERVER: ${{ gitea.server_url }}
REGISTRY_REPOSITORY: ${{ gitea.repository }}
REGISTRY_NAMESPACE: ${{ vars.CONTAINER_REGISTRY_NAMESPACE }}
REGISTRY_USER: ${{ secrets.CONTAINER_REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
run: bash scripts/publish-container.sh