use semantic version for image
This commit is contained in:
parent
6a1b772abd
commit
dddfc9e028
1 changed files with 18 additions and 1 deletions
19
pipeline.yml
19
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
|
||||
|
|
Reference in a new issue