mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 12:37:39 +00:00
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:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -130,13 +130,22 @@ jobs:
|
|||||||
run: docker login $REGISTRY -u $GITHUB_ACTOR -p $GITHUB_TOKEN
|
run: docker login $REGISTRY -u $GITHUB_ACTOR -p $GITHUB_TOKEN
|
||||||
- name: Docker Pull short-sha
|
- name: Docker Pull short-sha
|
||||||
run: docker pull $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }}
|
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
|
- name: Semantic Release
|
||||||
uses: cycjimmy/semantic-release-action@v2
|
uses: cycjimmy/semantic-release-action@v2
|
||||||
with:
|
with:
|
||||||
dry_run: false
|
dry_run: false
|
||||||
semantic_version: 17.0.4
|
semantic_version: 17.0.4
|
||||||
extra_plugins: |
|
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 != ''
|
||||||
|
@@ -4,10 +4,8 @@ module.exports = {
|
|||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
"@semantic-release/github",
|
"@semantic-release/github",
|
||||||
["semantic-release-docker", {
|
["@semantic-release/exec", {
|
||||||
"registryUrl": "docker.pkg.github.com",
|
"publishCmd": "echo '::set-env name=CAOS_NEXT_VERSION::${nextRelease.version}'"
|
||||||
"name": "caos/zitadel/zitadel"
|
}],
|
||||||
}
|
|
||||||
],
|
|
||||||
]
|
]
|
||||||
};
|
};
|
@@ -1,4 +1,4 @@
|
|||||||

|

|
||||||
|
|
||||||
# Zitadel
|
# Zitadel
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Reference in New Issue
Block a user