fix(semrel): docker version tag in build strategy (#38)

* fix(semrel): docker version tag in build strategy

* remove old semrel plugins
This commit is contained in:
Florian Forster 2020-04-14 18:27:12 +02:00 committed by GitHub
parent 34e2f1bcdd
commit d0e72713fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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"