mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
fix: something
This commit is contained in:
parent
f29cf595c2
commit
8eafaf1a7a
1 changed files with 36 additions and 10 deletions
46
.github/workflows/docker-publish.yml
vendored
46
.github/workflows/docker-publish.yml
vendored
|
@ -10,6 +10,9 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
new_version: ${{ steps.semantic.outputs.next_version }}
|
||||||
|
changelog: ${{ steps.build_changelog.outputs.changelog }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -18,7 +21,10 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Codestyle
|
- name: Code style check
|
||||||
|
run: echo "NIY"
|
||||||
|
|
||||||
|
- name: Calculate version
|
||||||
id: semantic
|
id: semantic
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
|
@ -126,14 +132,34 @@ jobs:
|
||||||
# build-args: |
|
# build-args: |
|
||||||
# VERSION=${{ steps.semantic.outputs.release-version }}
|
# VERSION=${{ steps.semantic.outputs.release-version }}
|
||||||
|
|
||||||
#- name: Publish tag
|
- name: "Build Changelog"
|
||||||
# uses: rickstaa/action-create-tag@07b918ecbf94359b859f25f7a70553a84e804923
|
id: build_changelog
|
||||||
# with:
|
uses: mikepenz/release-changelog-builder-action@ac1ce19a7c79f7da8b31252ef575de5912804f86
|
||||||
# tag: ${{ steps.semantic.outputs.release-version }}
|
|
||||||
# message: |
|
|
||||||
# ${{ steps.semantic.outputs.name }}
|
|
||||||
|
|
||||||
# ${{ steps.semantic.outputs.release-notes }}
|
release:
|
||||||
# #TODO: force_push_tag is true for debug purpose only
|
needs: build_and_publish
|
||||||
# force_push_tag: true
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: release
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: debug
|
||||||
|
run: |
|
||||||
|
echo ${{ needs.build_and_publish.outputs.next_version }}
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo ${{ needs.build_and_publish.outputs.changelog }}
|
||||||
|
|
||||||
|
#- name: Publish tag
|
||||||
|
# uses: rickstaa/action-create-tag@07b918ecbf94359b859f25f7a70553a84e804923
|
||||||
|
# with:
|
||||||
|
# tag: ${{ needs.build_and_publish.outputs.next_version }}
|
||||||
|
# message: |
|
||||||
|
# ${{ needs.build_and_publish.outputs.next_version }}
|
||||||
|
|
||||||
|
# tbd blah
|
||||||
|
# #TODO: force_push_tag is true for debug purpose only
|
||||||
|
# force_push_tag: true
|
||||||
|
|
Loading…
Reference in a new issue