try 1 to build to own registry
parent
262e804243
commit
8e0d2a2515
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue