diff --git a/pipeline.yml b/pipeline.yml index a311b40..beec822 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -4,7 +4,7 @@ resource_types: type: registry-image source: repository: git.pim.kunis.nl/pim/concourse-apprise-notifier - tag: 1.1 + tag: latest resources: - name: site-repo @@ -26,6 +26,16 @@ resources: host: https://apprise.pim.kunis.nl:444 key: concourse icon: bell +- name: version + type: semver + source: + driver: git + initial_version: "1.1.0" + uri: ssh://git@git.pim.kunis.nl:56287/pim/static.git + branch: version + file: version + private_key: {{private_key}} + icon: numberic notify-failed: ¬ify-failed put: apprise-notification @@ -87,11 +97,18 @@ jobs: ls image on_failure: << : *notify-failed + - get: version + params: + bump: minor - put: site-registry-image params: image: image/image.tar + additional_tags: version/version on_failure: << : *notify-failed + - put: version + params: + file: version/version - name: deploy-static-website plan: - get: site-registry-image