diff --git a/.drone/portfwd.yml b/.drone/portfwd.yml index d453434..8cdac97 100644 --- a/.drone/portfwd.yml +++ b/.drone/portfwd.yml @@ -3,7 +3,9 @@ clone: git: image: plugins/git when: - path: 'portfwd/*' + path: + - 'portfwd/*' + - '.drone/portfwd.yml' pipeline: publish_portfwd: @@ -14,5 +16,20 @@ pipeline: context: portfwd/ dockerfile: portfwd/Dockerfile when: - path: 'portfwd/*' + path: + - 'portfwd/*' + - '.drone/portfwd.yml' + + publish_portfwd_ghcr: + image: plugins/docker + repo: ghcr.io/portfwd + registry: ghcr.io + username: sstent + password: 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 + context: portfwd/ + dockerfile: portfwd/Dockerfile + when: + path: + - 'portfwd/*' + - '.drone/portfwd.yml' ...