diff --git a/.drone.yml b/.drone.yml index 295afe0..6fea1c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,7 @@ steps: commands: - go test ./... - - name: docker + - name: build master image image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0 when: branch: ["master"] @@ -29,3 +29,15 @@ steps: from_secret: drone_secret repo: code.pztrn.name/apps/metricator auto_tag: true + + - name: build tagged image + image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0 + when: + event: ["tag"] + settings: + registry: code.pztrn.name + username: drone + password: + from_secret: drone_secret + repo: code.pztrn.name/apps/metricator + auto_tag: true