refactor: use local registry instead of docker hub
This commit is contained in:
parent
cea2f8c746
commit
7e0f0dd1d6
13
.drone.yml
13
.drone.yml
|
@ -70,7 +70,8 @@ steps:
|
|||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: kichiyaki/notificationarr
|
||||
registry: gitea.dwysokinski.me
|
||||
repo: gitea.dwysokinski.me/kichiyaki/notificationarr
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
dockerfile: Dockerfile
|
||||
|
@ -94,6 +95,16 @@ steps:
|
|||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
- name: manifest-latest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
tags: latest
|
||||
ignore_missing: "true"
|
||||
spec: manifest.tmpl
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
image: kichiyaki/notificationarr:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
image: gitea.dwysokinski.me/kichiyaki/notificationarr:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
{{#if build.tags}}
|
||||
tags:
|
||||
{{#each build.tags}}
|
||||
|
@ -7,7 +7,7 @@ tags:
|
|||
{{/if}}
|
||||
manifests:
|
||||
-
|
||||
image: kichiyaki/notificationarr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
||||
image: gitea.dwysokinski.me/kichiyaki/notificationarr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
|
|
Reference in New Issue