try 1 to build to own registry
parent
262e804243
commit
8e0d2a2515
|
@ -11,11 +11,11 @@ when:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &file Dockerfile
|
- &file Dockerfile
|
||||||
- &repo docker.io/jmbitci/www-jmbit-de
|
- &repo docker.io/${CI_REPO_OWNER/${CI_REPO_NAME}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
dryrun:
|
dryrun:
|
||||||
image: klakegg/hugo
|
image: git.jmbit.de/jmb/docker-hugo
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify
|
- hugo --minify
|
||||||
when:
|
when:
|
||||||
|
@ -25,15 +25,13 @@ steps:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dockerfile: *file
|
dockerfile: *file
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||||
repo: *repo
|
repo: *repo
|
||||||
registry: docker.io
|
registry: git.jmbit.de
|
||||||
tags:
|
tags: latest
|
||||||
- latest
|
username: ${CI_REPO_OWNER}
|
||||||
- ${CI_COMMIT_SHA}
|
|
||||||
username: jmbitci
|
|
||||||
password:
|
password:
|
||||||
from_secret: dockerhub_token
|
from_secret: forgejo_token
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# JMBIT Website
|
# 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)
|
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
|
It is created using [Hugo](https://gohugo.io/) using the MIT-Licenced [Terminal
|
||||||
|
|
Loading…
Reference in New Issue