diff --git a/VERSION b/VERSION index 54d1a4f..c317a91 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.13.0 +0.13.1 diff --git a/codefresh.yaml b/codefresh.yaml index 836c576..74147f7 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -10,7 +10,7 @@ steps: main_clone: stage: Build & Test type: git-clone - repo: codefresh-io/pikolo + repo: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}} git: cf_github revision: ${{CF_REVISION}} @@ -39,12 +39,14 @@ steps: create_git_tag: title: Push tag to git - image: codefresh/cli + image: codefreshio/ci-helpers stage: Push & Release commands: + - source /get-token/get-gh-token.sh + - cf_export GITHUB_TOKEN - export OLD_ORIGIN=$(git remote get-url origin) - git remote rm origin - - git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/pikolo.git + - git remote add origin https://${GITHUB_TOKEN}@github.com/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}.git - git tag v${{VERSION}} - git push --tags - git remote rm origin @@ -90,9 +92,23 @@ steps: on: - success + push_cli_image_quay: + title: "Push image to Quay" + stage: Push & Release + type: push + candidate: ${{build}} + tags: + - latest + - ${{VERSION}} + registry: ${{REGISTRY_INTEGRATION_QUAY}} + when: + steps: + - name: build + on: + - success - push_cli_image: - title: "Push image" + push_cli_image_dockerub: + title: "Push image to Dockerhub" stage: Push & Release type: push candidate: ${{build}} diff --git a/goreleaser.yaml b/goreleaser.yaml index 40fc269..678fb75 100644 --- a/goreleaser.yaml +++ b/goreleaser.yaml @@ -5,16 +5,16 @@ builds: - darwin - linux - windows -archive: - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 - format_overrides: - - goos: windows - format: zip +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + format_overrides: + - goos: windows + format: zip checksum: name_template: 'checksums.txt' snapshot: