diff --git a/deploy.md b/deploy.md index a6c1518..d325214 100644 --- a/deploy.md +++ b/deploy.md @@ -1 +1 @@ -`fly -t home set-pipeline -l secrets.yml -l vars.yml -p concourse-apprise-notifier -c pipeline.yml` +`fly -t home set-pipeline -l secrets.yml -p concourse-apprise-notifier -c pipeline.yml` diff --git a/pipeline.yml b/pipeline.yml index 803d8c8..0653555 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -11,8 +11,18 @@ resources: repository: git.pim.kunis.nl/pim/concourse-apprise-notifier username: pim password: ((api_key)) - tag: ((image_version)) + tag: stable icon: docker + - name: version + type: semver + source: + driver: git + initial_version: "1.1.0" + uri: ssh://git@git.pim.kunis.nl:56287/pim/concourse-apprise-notifier.git + branch: version + file: version + private_key: {{private_key}} + icon: numeric jobs: - name: build-and-publish-image @@ -41,6 +51,13 @@ jobs: - | build ls image + - get: version + params: + bump: patch - put: registry-image params: image: image/image.tar + additional_tags: version/version + - put: version + params: + file: version/version diff --git a/vars.yml b/vars.yml deleted file mode 100644 index 5ae52dd..0000000 --- a/vars.yml +++ /dev/null @@ -1 +0,0 @@ -image_version: "1.1"