mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-27 16:10:52 +08:00
refactor
This commit is contained in:
parent
6ce7dd7b4a
commit
627b2e60b9
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -25,6 +25,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: "Print result"
|
- name: "Print result"
|
||||||
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
echo "tag_name: ${{ steps.last_release.outputs.tag_name }}"
|
echo "tag_name: ${{ steps.last_release.outputs.tag_name }}"
|
||||||
echo "name: ${{ steps.last_release.outputs.name }}"
|
echo "name: ${{ steps.last_release.outputs.name }}"
|
||||||
@ -34,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: ${{ steps.last_release.outputs.tag_name }} != 0
|
if: success()
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user