frontend/.gitea/workflows/release.yaml
Workflow config file is invalid. Please check your config file: yaml: line 5: did not find expected alphabetic or numeric character
Nicolai Ort 3ec18a6964
All checks were successful
Build Latest and dev images / build-container (push) Successful in 1m53s
refactor(ci): Add Gitea workflow for building release images and remove Woodpecker configuration
2025-03-22 22:38:43 +01:00

34 lines
909 B
YAML

name: Build release images
on:
push:
tags:
- *.*.*
jobs:
build-container:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 19
- run: npm i -g pnpm@8 && pnpm i
- run: pnpm licenses:export
- name: Login to registry
uses: docker/login-action@v3
with:
registry: registry.odit.services
username: ${{ vars.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: |
${{ vars.REGISTRY }}/lfk/frontend:${{ github.ref_name }}
platforms: linux/amd64,linux/arm64