From d0e72713fc1a8be8f6045411d560d990725f18dd Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 14 Apr 2020 18:27:12 +0200 Subject: [PATCH] fix(semrel): docker version tag in build strategy (#38) * fix(semrel): docker version tag in build strategy * remove old semrel plugins --- .github/workflows/release.yml | 3 +-- .releaserc.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df598e4099..fab5c250ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,13 +131,12 @@ jobs: - name: Docker Pull short-sha run: docker pull $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }} - name: Docker Tag - run: docker tag $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }} $REGISTRY/$GITHUB_REPOSITORY/$IMAGE + run: docker tag $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }} $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:latest - name: Semantic Release uses: cycjimmy/semantic-release-action@v2 with: dry_run: false semantic_version: 17.0.4 extra_plugins: | - @semantic-release/exec@v5.0.0 semantic-release-docker@v2.2.0 \ No newline at end of file diff --git a/.releaserc.js b/.releaserc.js index 0f5c2d8f10..b0190ca6b5 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -4,9 +4,6 @@ module.exports = { "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/github", - ["@semantic-release/exec", { - "prepareCmd": "echo '::set-env name=CAOS_NEXT_VERSION::v${nextRelease.version}'" - }], ["semantic-release-docker", { "registryUrl": "docker.pkg.github.com", "name": "caos/zitadel/zitadel"