Skip to content

Commit 96a0126

Browse files
CI/CD fixes; CR-476
2 parents 85a407e + b3c6276 commit 96a0126

File tree

3 files changed

+32
-16
lines changed

3 files changed

+32
-16
lines changed

VERSION

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

codefresh.yaml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
main_clone:
1111
stage: Build & Test
1212
type: git-clone
13-
repo: codefresh-io/pikolo
13+
repo: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
1414
git: cf_github
1515
revision: ${{CF_REVISION}}
1616

@@ -39,12 +39,14 @@ steps:
3939

4040
create_git_tag:
4141
title: Push tag to git
42-
image: codefresh/cli
42+
image: codefreshio/ci-helpers
4343
stage: Push & Release
4444
commands:
45+
- source /get-token/get-gh-token.sh
46+
- cf_export GITHUB_TOKEN
4547
- export OLD_ORIGIN=$(git remote get-url origin)
4648
- git remote rm origin
47-
- git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/pikolo.git
49+
- git remote add origin https://${GITHUB_TOKEN}@github.com/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}.git
4850
- git tag v${{VERSION}}
4951
- git push --tags
5052
- git remote rm origin
@@ -90,9 +92,23 @@ steps:
9092
on:
9193
- success
9294

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}}
104+
when:
105+
steps:
106+
- name: build
107+
on:
108+
- success
93109

94-
push_cli_image:
95-
title: "Push image"
110+
push_cli_image_dockerub:
111+
title: "Push image to Dockerhub"
96112
stage: Push & Release
97113
type: push
98114
candidate: ${{build}}

goreleaser.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ builds:
55
- darwin
66
- linux
77
- windows
8-
archive:
9-
replacements:
10-
darwin: Darwin
11-
linux: Linux
12-
windows: Windows
13-
386: i386
14-
amd64: x86_64
15-
format_overrides:
16-
- goos: windows
17-
format: zip
8+
archives:
9+
- replacements:
10+
darwin: Darwin
11+
linux: Linux
12+
windows: Windows
13+
386: i386
14+
amd64: x86_64
15+
format_overrides:
16+
- goos: windows
17+
format: zip
1818
checksum:
1919
name_template: 'checksums.txt'
2020
snapshot:

0 commit comments

Comments
 (0)