mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-28 08:50:23 +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 }}
|
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 }}"
|
||||||
@ -35,8 +34,8 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: success()
|
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
if: ${{ success() && github.event_name == 'pull_request' }}
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user