try 1 to build to own registry

gin
Johannes Bülow 2023-08-03 15:08:10 +02:00
parent 262e804243
commit 8e0d2a2515
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
2 changed files with 8 additions and 9 deletions

View File

@ -11,11 +11,11 @@ when:
variables:
- &file Dockerfile
- &repo docker.io/jmbitci/www-jmbit-de
- &repo docker.io/${CI_REPO_OWNER/${CI_REPO_NAME}
steps:
dryrun:
image: klakegg/hugo
image: git.jmbit.de/jmb/docker-hugo
commands:
- hugo --minify
when:
@ -25,15 +25,13 @@ steps:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: *file
platforms: linux/arm64/v8,linux/amd64
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
repo: *repo
registry: docker.io
tags:
- latest
- ${CI_COMMIT_SHA}
username: jmbitci
registry: git.jmbit.de
tags: latest
username: ${CI_REPO_OWNER}
password:
from_secret: dockerhub_token
from_secret: forgejo_token
when:
event: push

View File

@ -1,4 +1,5 @@
# JMBIT Website
[![status-badge](https://ci.jmbit.de/api/badges/1/status.svg)](https://ci.jmbit.de/repos/1)
This is the Sourcecode for my Website [www.jmbit.de](https://www.jmbit.de)
It is created using [Hugo](https://gohugo.io/) using the MIT-Licenced [Terminal