forked from ixc/restic-pg-dump-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodefresh.yml
More file actions
29 lines (25 loc) · 668 Bytes
/
codefresh.yml
File metadata and controls
29 lines (25 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '1.0'
steps:
build_image:
type: build
title: Building Docker Image
image_name: interaction/restic-pg-dump
push_image_branch_tag:
title: Pushing Docker Image to Registry (branch tag)
candidate: '${{build_image}}'
tag: '${{CF_BRANCH_TAG_NORMALIZED}}'
type: push
push_image_commit_tag:
title: Pushing Docker Image to Registry (commit tag)
candidate: '${{build_image}}'
tag: '${{CF_REVISION}}'
type: push
push_image_latest_tag:
title: Pushing Docker Image to Registry (latest tag)
candidate: '${{build_image}}'
tag: latest
type: push
when:
branch:
only:
- master