mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-05-04 03:48:40 +08:00
fix: Fix action.yml
This commit is contained in:
parent
d97313dcb3
commit
e1eb18816c
@ -30,6 +30,7 @@ runs:
|
|||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
if: ${{ github.ref == 'refs/heads/main' && success() }}
|
if: ${{ github.ref == 'refs/heads/main' && success() }}
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker build -t ${{ inputs.registry-username }}/booking-microservices-flight:${{ inputs.tag-name }} -f "${{ github.workspace }}/src/Services/Flight/Dockerfile" .
|
docker build -t ${{ inputs.registry-username }}/booking-microservices-flight:${{ inputs.tag-name }} -f "${{ github.workspace }}/src/Services/Flight/Dockerfile" .
|
||||||
docker build -t ${{ inputs.registry-username }}/booking-microservices-identity:${{ inputs.tag-name }} -f "${{ github.workspace }}/src/Services/Identity/Dockerfile" .
|
docker build -t ${{ inputs.registry-username }}/booking-microservices-identity:${{ inputs.tag-name }} -f "${{ github.workspace }}/src/Services/Identity/Dockerfile" .
|
||||||
@ -38,6 +39,7 @@ runs:
|
|||||||
|
|
||||||
- name: Publish Docker Image
|
- name: Publish Docker Image
|
||||||
if: ${{ github.ref == 'refs/heads/main' && success() }}
|
if: ${{ github.ref == 'refs/heads/main' && success() }}
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker push ${{ inputs.registry-username }}/booking-microservices-flight:${{ inputs.tag-name }}
|
docker push ${{ inputs.registry-username }}/booking-microservices-flight:${{ inputs.tag-name }}
|
||||||
docker push ${{ inputs.registry-username }}/booking-microservices-identity:${{ inputs.tag-name }}
|
docker push ${{ inputs.registry-username }}/booking-microservices-identity:${{ inputs.tag-name }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user