@@ -1,26 +1,27 @@
kind: pipeline
-type: default
+type: docker
+name: update
steps:
- name: pull
image: alpine:3.8
volumes:
- path: /data/
+ path: /data
commands:
- apk add --no-cache bash curl
- ./update.sh
- - mv pull/ /data/
+ - mv pull/ /data
when:
branch:
- master
-- name: publish-server
+- name: publish
image: plugins/docker
settings:
- context: /data/
+ context: /data
username:
from_secret: registry_username
password: