Skip to content

Commit c9b3d40

Browse files
bump version
1 parent 4f0eec5 commit c9b3d40

File tree

2 files changed

+43
-48
lines changed

2 files changed

+43
-48
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.13.1
1+
0.13.2

codefresh.yaml

Lines changed: 42 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ steps:
1111
stage: Build & Test
1212
type: git-clone
1313
repo: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
14-
git: ${{GIT_CONTEXT}}
14+
git: cf_github
1515
revision: ${{CF_REVISION}}
16-
16+
1717
calculate_version:
1818
stage: Build & Test
1919
title: 'Calculate latest version'
@@ -36,7 +36,7 @@ steps:
3636
- name: main_clone
3737
on:
3838
- success
39-
39+
4040
create_git_tag:
4141
title: Push tag to git
4242
image: codefreshio/ci-helpers
@@ -51,7 +51,7 @@ steps:
5151
- git push --tags
5252
- git remote rm origin
5353
- git remote add origin $OLD_ORIGIN
54-
54+
5555
fail_fast: false
5656
when:
5757
steps:
@@ -61,7 +61,7 @@ steps:
6161
branch:
6262
only:
6363
- master
64-
64+
6565
release_binaries:
6666
title: Create release in Github
6767
image: goreleaser/goreleaser
@@ -79,50 +79,45 @@ steps:
7979
only:
8080
- master
8181

82+
8283
build:
83-
stage: build
84-
type: "alexcodefresh/test-docker"
85-
retry:
86-
maxAttempts: 3
87-
delay: 5
88-
exponentialFactor: 2
89-
arguments:
90-
image_name: ${{IMAGE_NAME}}
91-
working_directory: '${{CF_VOLUME_PATH}}/${{CF_REPO_NAME}}'
92-
dockerfile: './Dockerfile'
93-
platforms:
94-
- linux/amd64
95-
- linux/arm64
96-
registries:
97-
- name: 'quay.io'
98-
username: '${{QUAY_USERNAME}}'
99-
password: '${{QUAY_PASSWORD}}'
100-
- name: 'docker.io'
101-
username: '${{DOCKERHUB_USERNAME}}'
102-
password: '${{DOCKERHUB_PASSWORD}}'
103-
- name: 'gcr.io'
104-
path_prefix: codefresh-enterprise
105-
username: '${{GCR_USERNAME}}'
106-
password: '${{GCR_PASSWORD}}'
84+
title: "Building production image"
85+
type: build
86+
stage: Build & Test
87+
tag: ${{VERSION}}
88+
image_name: codefresh/pikolo
89+
when:
90+
steps:
91+
- name: release_binaries
92+
on:
93+
- success
94+
95+
push_cli_image_quay:
96+
title: "Push image to Quay"
97+
stage: Push & Release
98+
type: push
99+
candidate: ${{build}}
100+
tags:
101+
- latest
102+
- ${{VERSION}}
103+
registry: ${{REGISTRY_INTEGRATION_QUAY}}
107104
when:
108105
steps:
109-
- name: test
106+
- name: build
110107
on:
111108
- success
112-
scale:
113-
master_branch_tags:
114-
when:
115-
branch:
116-
only: [ master ]
117-
arguments:
118-
tags:
119-
- ${{CF_BRANCH_TAG_NORMALIZED}}
120-
- ${{VERSION}}
121-
- latest
122-
dev_branches_tags:
123-
when:
124-
branch:
125-
ignore: [master]
126-
arguments:
127-
tags:
128-
- ${{CF_BRANCH_TAG_NORMALIZED}}
109+
110+
push_cli_image_dockerub:
111+
title: "Push image to Dockerhub"
112+
stage: Push & Release
113+
type: push
114+
candidate: ${{build}}
115+
tags:
116+
- latest
117+
- ${{VERSION}}
118+
registry: "dockerhub"
119+
when:
120+
steps:
121+
- name: build
122+
on:
123+
- success

0 commit comments

Comments
 (0)