@@ -0,0 +1,37 @@
+kind: pipeline
+type: docker
+name: ui
+
+steps:
+- name: pull
+ image: alpine:3.8
+ volumes:
+ - name: pull
+ path: /data/
+ commands:
+ - ./update.sh
+ - mv pull/ /data/
+ when:
+ branch:
+ - master
+- name: publish-server
+ image: plugins/docker
+ settings:
+ context: /data/
+ username:
+ from_secret: registry_username
+ password:
+ from_secret: registry_password
+ repo: registry.hiram.services/audiobot
+ tags: latest
+ registry: registry.hiram.services
+volumes:
+ temp: {}