mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-24 22:38:09 +08:00
.
This commit is contained in:
parent
e2dfc1cd6c
commit
449d2a1fb8
12
.github/workflows/build-publish-docker.yml
vendored
12
.github/workflows/build-publish-docker.yml
vendored
@ -21,11 +21,21 @@ jobs:
|
||||
node-version: 'lts/*'
|
||||
|
||||
## With the above semantic-release configuration, will create a release and push the dist/index.js file as well as all the tags required
|
||||
- name: Semantic Release
|
||||
- name: Semantic Release Version
|
||||
id: semantic-version
|
||||
run: npx semantic-release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Semantic Release Versions Outputs
|
||||
run: |
|
||||
echo ${{ steps.semantic-version.outputs.semantic_nextRelease_version }}
|
||||
echo ${{ steps.semantic-version.outputs.semantic_nextRelease_channel }}
|
||||
echo ${{ steps.semantic-version.outputs.semantic_nextRelease_gitTag }}
|
||||
echo ${{ steps.semantic-version.outputs.semantic_lastRelease_version }}
|
||||
echo ${{ steps.semantic-version.outputs.semantic_lastRelease_channel }}
|
||||
echo ${{ steps.semantic-version.outputs.semantic_lastRelease_gitTag }}
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user