Compare commits
2 Commits
ab6ce62649
...
0.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
75d0af185c
|
|||
|
810be2c0cd
|
27
.gitea/workflows/release.yaml
Normal file
27
.gitea/workflows/release.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Build release images
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*.*.*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-container:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- 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/docs:${{ github.ref_name }}
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
@@ -2,7 +2,7 @@ FROM hugomods/hugo:exts AS build
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
COPY .git /app/.git
|
# COPY .git /app/.git
|
||||||
RUN hugo
|
RUN hugo
|
||||||
|
|
||||||
FROM hugomods/hugo:nginx
|
FROM hugomods/hugo:nginx
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ module:
|
|||||||
- path: github.com/imfing/hextra
|
- path: github.com/imfing/hextra
|
||||||
|
|
||||||
enableRobotsTXT: true
|
enableRobotsTXT: true
|
||||||
enableGitInfo: true
|
|
||||||
hasCJKLanguage: true
|
hasCJKLanguage: true
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
@@ -78,7 +77,6 @@ menu:
|
|||||||
|
|
||||||
params:
|
params:
|
||||||
description: Dokumentation für das Lauf für Kaya! Läufersystem.
|
description: Dokumentation für das Lauf für Kaya! Läufersystem.
|
||||||
displayUpdatedDate: true
|
|
||||||
navbar:
|
navbar:
|
||||||
displayTitle: true
|
displayTitle: true
|
||||||
displayLogo: true
|
displayLogo: true
|
||||||
|
|||||||
Reference in New Issue
Block a user