-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update goreleaser.yaml * build the binary inside Dockerfile * pipeline changes CR-847
- Loading branch information
1 parent
96a0126
commit 5d89e47
Showing
5 changed files
with
207 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.13.1 | ||
0.13.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
version: "1.0" | ||
|
||
steps: | ||
main_clone: | ||
title: 'Cloning main repository...' | ||
type: git-clone | ||
repo: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}} | ||
revision: ${{CF_REVISION}} | ||
git: ${{GIT_CONTEXT}} | ||
|
||
build_image: | ||
title: "Building the image..." | ||
type: build | ||
disable_push: true | ||
dockerfile: ./Dockerfile | ||
image_name: ${{IMAGE_NAME}} | ||
tag: ${{CF_BRANCH_TAG_NORMALIZED}} | ||
|
||
push_dev: | ||
title: "Pushing image to registry with branch name" | ||
type: push | ||
candidate: ${{build_image}} | ||
tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{ARM_TAG_POSTFIX}} | ||
when: | ||
branch: | ||
ignore: [ master ] | ||
scale: | ||
push_quay_dev: | ||
registry: "${{REGISTRY_INTEGRATION_QUAY}}" | ||
push_dockerhub_dev: | ||
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}" | ||
push_gcr_enterprise_dev: | ||
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}" | ||
|
||
push_master: | ||
title: "Pushing image production tags" | ||
type: push | ||
candidate: ${{build_image}} | ||
when: | ||
branch: | ||
only: [ master ] | ||
tags: | ||
- "${{CF_BRANCH_TAG_NORMALIZED}}${{ARM_TAG_POSTFIX}}" | ||
- "${{VERSION}}${{ARM_TAG_POSTFIX}}" | ||
- "latest${{ARM_TAG_POSTFIX}}" | ||
scale: | ||
push_quay_prod: | ||
registry: "${{REGISTRY_INTEGRATION_QUAY}}" | ||
push_dockerhub_prod: | ||
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}" | ||
push_gcr_enterprise_prod: | ||
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters