mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-14 20:54:05 +08:00
refactor
This commit is contained in:
parent
627b2e60b9
commit
9b3477fcb9
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -25,7 +25,6 @@ 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 }}"
|
||||
@ -35,8 +34,8 @@ jobs:
|
||||
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: success()
|
||||
uses: docker/login-action@v2
|
||||
if: ${{ success() && github.event_name == 'pull_request' }}
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user