1 | version: "1.0"
|
2 | steps:
|
3 | build_tag:
|
4 | type: "build"
|
5 | title: "Building tag ${{CF_BRANCH_TAG_NORMALIZED}}"
|
6 | working_directory: "${{main_clone}}"
|
7 | dockerfile: "Dockerfile"
|
8 | image_name: "${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}"
|
9 | tag: "${{CF_BRANCH_TAG_NORMALIZED}}"
|
10 |
|
11 | push_tag_to_registry:
|
12 | title: "Pushing ${{CF_BRANCH_TAG_NORMALIZED}} > ${{CF_BRANCH_TAG_NORMALIZED}}"
|
13 | type: "push"
|
14 | candidate: "${{build_tag}}"
|
15 | tag: "${{CF_BRANCH_TAG_NORMALIZED}}"
|
16 |
|
17 | push_latest_to_registry:
|
18 | title: "Pushing ${{CF_BRANCH_TAG_NORMALIZED}} > latest"
|
19 | type: "push"
|
20 | candidate: "${{build_tag}}"
|
21 | tag: "latest"
|