Merge branch 'main' of git.kohout-dev.de:rezepte/rezepte
Some checks failed
Build and Push Docker Container / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Container / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -8,26 +8,24 @@ on:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on:
|
||||
- docker
|
||||
container:
|
||||
image: node:18
|
||||
- ubuntu-22.04
|
||||
steps:
|
||||
- name: Install Docker
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y docker.io
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.kohout-dev.de
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
- name: Clone Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Login to Docker Registry
|
||||
run: |
|
||||
echo "${{ secrets.DOCKER_TOKEN }}" | docker login git.kohout-dev.de -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
docker build -t git.kohout-dev.de/${{ secrets.DOCKER_USERNAME }}/rezepte:latest .
|
||||
|
||||
- name: Push Docker Image
|
||||
run: |
|
||||
docker push git.kohout-dev.de/${{ secrets.DOCKER_USERNAME }}/rezepte:latest
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: "git.kohout-dev.de/rezepte/rezepte:${{gitea.sha}},git.kohout-dev.de/rezepte/rezepte:latest"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
baseURL = 'https://rezepte.kohout-dev.de/'
|
||||
baseURL = 'https://rezepte.eliaskohout.de/'
|
||||
languageCode = 'de-de'
|
||||
title = 'Rezepte'
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
|
||||
<!-- Stylesheets -->
|
||||
{{ $style := resources.Get "css/main.css" | resources.Minify | resources.Fingerprint }}
|
||||
<link rel='stylesheet' type='text/css' href="{{ $style.Permalink }}">
|
||||
<link rel='stylesheet' type='text/css' href="{{ $style.RelPermalink }}">
|
||||
{{ $style := resources.Get "css/fonts.css" | resources.Minify | resources.Fingerprint }}
|
||||
<link rel='stylesheet' type='text/css' href="{{ $style.Permalink }}">
|
||||
<link rel='stylesheet' type='text/css' href="{{ $style.RelPermalink }}">
|
||||
{{ $style := resources.Get "css/dark.css" | resources.Minify | resources.Fingerprint }}
|
||||
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="{{ $style.Permalink }}"
|
||||
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}"
|
||||
{{ if eq .Site.Params.mode "auto" }} media="(prefers-color-scheme: dark)" {{ end }}
|
||||
{{ if eq .Site.Params.mode "toggle" }} disabled {{ end }} >
|
||||
|
||||
<!-- Scripts -->
|
||||
{{ $style := resources.Get "js/themetoggle.js" | resources.Minify | resources.Fingerprint }}
|
||||
<script src="{{ $style.Permalink }}"></script>
|
||||
<script src="{{ $style.RelPermalink }}"></script>
|
||||
|
||||
<!-- Meta data -->
|
||||
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
|
||||
|
||||
Reference in New Issue
Block a user