concourse-apprise-notifier/pipeline.yml

64 lines
1.5 KiB
YAML
Raw Normal View History

---
resources:
- name: repo
type: git
source:
2023-07-05 21:36:51 +00:00
uri: https://git.kun.is/pim/concourse-apprise-notifier.git
icon: git
- name: registry-image
type: registry-image
source:
2023-07-05 21:36:51 +00:00
repository: git.kun.is/pim/concourse-apprise-notifier
username: pim
password: ((api_key))
2023-06-14 20:13:59 +00:00
tag: stable
icon: docker
2023-06-14 20:13:59 +00:00
- name: version
type: semver
source:
driver: git
initial_version: "1.1.0"
2023-07-05 21:36:51 +00:00
uri: ssh://git@git.kun.is:56287/pim/concourse-apprise-notifier.git
2023-06-14 20:13:59 +00:00
branch: version
file: version
private_key: {{private_key}}
icon: numeric
jobs:
- name: build-and-publish-image
plan:
- get: repo
trigger: true
- task: build-image
privileged: true
config:
platform: linux
image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
inputs:
- name: repo
outputs:
- name: image
params:
DOCKERFILE: repo/Dockerfile
2023-06-14 12:09:31 +00:00
LABELS_FILE: repo/labels
run:
path: sh
args:
- -exc
- |
build
ls image
2023-06-14 20:13:59 +00:00
- get: version
params:
bump: patch
- put: registry-image
params:
image: image/image.tar
2023-06-14 20:13:59 +00:00
additional_tags: version/version
- put: version
params:
file: version/version