fix: docker semrel release problem (#49)

* chore: debug docker semrel

* fix: trigger ci

* fix: a try

* fix: set verify

* chore: dry run false

* test

* fix: implement docker push with semrel

* fix: ci build and docker semrel
This commit is contained in:
Florian Forster
2020-04-16 13:46:43 +02:00
committed by GitHub
parent bd33b54ac5
commit 28166dd5e0
4 changed files with 18 additions and 11 deletions

View File

@@ -130,13 +130,22 @@ jobs:
run: docker login $REGISTRY -u $GITHUB_ACTOR -p $GITHUB_TOKEN
- 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:latest
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
dry_run: false
dry_run:  false
semantic_version: 17.0.4
extra_plugins: |
semantic-release-docker@v2.2.0
@semantic-release/exec@5.0.0
- name: Docker Tag Version
run: docker tag $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }} $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:$CAOS_NEXT_VERSION
if: env.CAOS_NEXT_VERSION != ''
- name: Docker Tag Latest
run: docker tag $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }} $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:latest
if: env.CAOS_NEXT_VERSION != ''
- name: Docker Push Version
run: docker push $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:$CAOS_NEXT_VERSION
if: env.CAOS_NEXT_VERSION != ''
- name: Docker Push Latest
run: docker push $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:latest
if: env.CAOS_NEXT_VERSION != ''

View File

@@ -4,10 +4,8 @@ module.exports = {
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
["semantic-release-docker", {
"registryUrl": "docker.pkg.github.com",
"name": "caos/zitadel/zitadel"
}
],
["@semantic-release/exec", {
"publishCmd": "echo '::set-env name=CAOS_NEXT_VERSION::${nextRelease.version}'"
}],
]
};

View File

@@ -1,4 +1,4 @@
![ZITADEL](./raw/img/zitadel-logo-oneline-lightdesign@2x.png)
![ZITADEL](./docs/img/zitadel-logo-oneline-lightdesign@2x.png)
# Zitadel

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB