Merge pull request 'test/ci-workflow' (#7) from test/ci-workflow into main
Some checks failed
Deploy / Build and Push Images (push) Failing after 1m41s
Deploy / Deploy to Knative (push) Has been skipped

Reviewed-on: #7
Reviewed-by: gitea_admin <gitea@local.domain>
This commit is contained in:
2026-01-22 10:36:57 +00:00
2 changed files with 5 additions and 14 deletions

View File

@@ -5,10 +5,6 @@ on:
branches: branches:
- main - main
env:
PNPM_VERSION: 9
NODE_VERSION: 20
jobs: jobs:
build: build:
name: Build Check name: Build Check
@@ -19,14 +15,11 @@ jobs:
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: ${{ env.NODE_VERSION }} node-version-file: '.nvmrc'
cache: pnpm
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile

View File

@@ -6,8 +6,6 @@ on:
- main - main
env: env:
PNPM_VERSION: 9
NODE_VERSION: 20
REGISTRY: gitea.tegical.world REGISTRY: gitea.tegical.world
IMAGE_PREFIX: tegical/seclusion IMAGE_PREFIX: tegical/seclusion
@@ -45,8 +43,8 @@ jobs:
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-web:${{ steps.meta.outputs.tag }} ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-web:${{ steps.meta.outputs.tag }}
${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-web:latest ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-web:latest
cache-from: type=gha cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-web:buildcache
cache-to: type=gha,mode=max cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-web:buildcache,mode=max
- name: Build and push API image - name: Build and push API image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
@@ -57,8 +55,8 @@ jobs:
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api:${{ steps.meta.outputs.tag }} ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api:${{ steps.meta.outputs.tag }}
${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api:latest ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api:latest
cache-from: type=gha cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api:buildcache
cache-to: type=gha,mode=max cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api:buildcache,mode=max
deploy: deploy:
name: Deploy to Knative name: Deploy to Knative