mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
chore(semantic-release): docker-release (#37)
* chore: docker vars * test --dry-run * use correct args * test * test * well, myb * arg(h) * something is broken with args * try gh action * try to run semrel * use branches flag * releaserc * works * final
This commit is contained in:
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -114,7 +114,7 @@ jobs:
|
||||
- name: Docker Run Test
|
||||
run: docker run $REGISTRY/$GITHUB_REPOSITORY/$IMAGE:${{ steps.vars.outputs.sha_short }} /bin/sh -c "ls -la ./app"
|
||||
|
||||
release: # TODO Implement Docker Push and latest TAG
|
||||
release:
|
||||
runs-on: ubuntu-18.04
|
||||
needs: [container-prod, container-test]
|
||||
env:
|
||||
@@ -132,5 +132,12 @@ jobs:
|
||||
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
|
||||
- name: Create Version
|
||||
uses: caos/semantic-release@v1.1.0
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user