mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-12 11:32:10 +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 }}
|
||||
|
||||
- name: "Print result"
|
||||
if: success()
|
||||
run: |
|
||||
echo "tag_name: ${{ steps.last_release.outputs.tag_name }}"
|
||||
echo "name: ${{ steps.last_release.outputs.name }}"
|
||||
@ -34,7 +35,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: ${{ steps.last_release.outputs.tag_name }} != 0
|
||||
if: success()
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user