generated from Templates/Baseline
Compare commits
9 Commits
master
...
v1.0.0-rc3
Author | SHA1 | Date |
---|---|---|
OCram85 | 923aab4560 | |
OCram85 | 70fd592a99 | |
OCram85 | 1a677a9bb4 | |
OCram85 | 302336c6d2 | |
OCram85 | cfb2c1fe4d | |
OCram85 | 3a5910ddd7 | |
OCram85 | 4513182359 | |
OCram85 | 73b90938fa | |
OCram85 | 3791bce7a8 |
|
@ -1,32 +0,0 @@
|
||||||
depends_on:
|
|
||||||
- test
|
|
||||||
|
|
||||||
pipeline:
|
|
||||||
buildTestImage:
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
|
||||||
settings:
|
|
||||||
#dry_run: true
|
|
||||||
registry: gitea.ocram85.com
|
|
||||||
repo: gitea.ocram85.com/codeserver/arkanum
|
|
||||||
platforms: linux/amd64
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
tags: next
|
|
||||||
username:
|
|
||||||
from_secret: gitea_user
|
|
||||||
password:
|
|
||||||
from_secret: gitea_passwd
|
|
||||||
build_args:
|
|
||||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
|
||||||
- TAG=${CI_COMMIT_TAG}
|
|
||||||
when:
|
|
||||||
event: pull_request
|
|
||||||
|
|
||||||
triggerPortainer:
|
|
||||||
image: ocram85/portainer-serviceupdate
|
|
||||||
settings:
|
|
||||||
VERBOSE: true
|
|
||||||
URI: "https://portainer.ocram85.com"
|
|
||||||
TOKEN:
|
|
||||||
from_secret: NEXT_TOKEN
|
|
||||||
when:
|
|
||||||
event: pull_request
|
|
|
@ -1,18 +1,38 @@
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
pipeline:
|
variables:
|
||||||
buildImage:
|
# deployment targets
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum,ghcr.io/ocram85/arkanum'
|
||||||
settings:
|
# logins for deployment targets
|
||||||
registry: gitea.ocram85.com
|
- publish_logins: &publish_logins
|
||||||
repo: gitea.ocram85.com/codeserver/arkanum
|
# Default DockerHub login
|
||||||
dockerfile: Dockerfile
|
- registry: https://index.docker.io/v1/
|
||||||
auto_tag: true
|
username:
|
||||||
|
from_secret: docker_user
|
||||||
|
password:
|
||||||
|
from_secret: docker_passwd
|
||||||
|
# Additional Quay.IO login
|
||||||
|
- registry: https://gitea.ocram85.com
|
||||||
username:
|
username:
|
||||||
from_secret: gitea_user
|
from_secret: gitea_user
|
||||||
password:
|
password:
|
||||||
from_secret: gitea_passwd
|
from_secret: gitea_passwd
|
||||||
|
# GitHub Container Registry
|
||||||
|
- registry: https://ghcr.io
|
||||||
|
username:
|
||||||
|
from_secret: github_user
|
||||||
|
password:
|
||||||
|
from_secret: github_passwd
|
||||||
|
|
||||||
|
steps:
|
||||||
|
latest:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx:2
|
||||||
|
settings:
|
||||||
|
repo: *publish_repos
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
auto_tag: true
|
||||||
|
logins: *publish_logins
|
||||||
build_args:
|
build_args:
|
||||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||||
- TAG=${CI_COMMIT_TAG}
|
- TAG=${CI_COMMIT_TAG}
|
||||||
|
@ -20,17 +40,13 @@ pipeline:
|
||||||
event: push
|
event: push
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
buildTag:
|
release:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx:2
|
||||||
settings:
|
settings:
|
||||||
registry: gitea.ocram85.com
|
repo: *publish_repos
|
||||||
repo: gitea.ocram85.com/codeserver/arkanum
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
username:
|
logins: *publish_logins
|
||||||
from_secret: gitea_user
|
|
||||||
password:
|
|
||||||
from_secret: gitea_passwd
|
|
||||||
build_args:
|
build_args:
|
||||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||||
- TAG=${CI_COMMIT_TAG}
|
- TAG=${CI_COMMIT_TAG}
|
|
@ -0,0 +1,51 @@
|
||||||
|
depends_on:
|
||||||
|
- test
|
||||||
|
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
|
||||||
|
variables:
|
||||||
|
# deployment targets
|
||||||
|
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum,ghcr.io/ocram85/arkanum'
|
||||||
|
# logins for deployment targets
|
||||||
|
- publish_logins: &publish_logins
|
||||||
|
# Default DockerHub login
|
||||||
|
- registry: https://index.docker.io/v1/
|
||||||
|
username:
|
||||||
|
from_secret: docker_user
|
||||||
|
password:
|
||||||
|
from_secret: docker_passwd
|
||||||
|
# Additional Quay.IO login
|
||||||
|
- registry: https://gitea.ocram85.com
|
||||||
|
username:
|
||||||
|
from_secret: gitea_user
|
||||||
|
password:
|
||||||
|
from_secret: gitea_passwd
|
||||||
|
# GitHub Container Registry
|
||||||
|
- registry: https://ghcr.io
|
||||||
|
username:
|
||||||
|
from_secret: github_user
|
||||||
|
password:
|
||||||
|
from_secret: github_passwd
|
||||||
|
|
||||||
|
steps:
|
||||||
|
buildTestImage:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx:2
|
||||||
|
settings:
|
||||||
|
#dry_run: true
|
||||||
|
repo: *publish_repos
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
tag: next
|
||||||
|
logins: *publish_logins
|
||||||
|
build_args:
|
||||||
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||||
|
- TAG=${CI_COMMIT_TAG}
|
||||||
|
|
||||||
|
triggerPortainer:
|
||||||
|
image: ocram85/portainer-serviceupdate
|
||||||
|
settings:
|
||||||
|
VERBOSE: true
|
||||||
|
URI: "https://portainer.ocram85.com"
|
||||||
|
TOKEN:
|
||||||
|
from_secret: NEXT_TOKEN
|
|
@ -1,4 +1,4 @@
|
||||||
pipeline:
|
steps:
|
||||||
testDockerfile:
|
testDockerfile:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
Loading…
Reference in New Issue