diff --git a/pipeline.yml b/pipeline.yml new file mode 100644 index 0000000..780cd0b --- /dev/null +++ b/pipeline.yml @@ -0,0 +1,22 @@ +--- +resources: + - name: resume-git + type: git + icon: git + source: + uri: ssh://git@git.nulloctet.com:8437/docker/pdf2htmlex.git + private_key: | + ((pull_key)) + - name: git-resource-image + type: docker-image + source: + repository: nexus.nulloctet.com:5001/_/pdf2htmlex + username: ((nexus_docker_push.username)) + password: ((nexus_docker_push.password)) + +jobs: + - name: build-rootfs + plan: + - get: git-resource + - put: git-resource-image + params: {build: git-resource} diff --git a/upload_pipeline.sh b/upload_pipeline.sh new file mode 100644 index 0000000..d4f7e4c --- /dev/null +++ b/upload_pipeline.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +pushd "${DIR}" + +fly -t docker set-pipeline --pipeline pdf2htmlex --config pipeline.yml + +popd