Merge pull request #167 from meysamhadeli/develop

fix: Fix action.yml
This commit is contained in:
Meysam Hadeli 2023-02-07 18:45:46 +03:30 committed by GitHub
commit 6eeba89d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ runs:
- name: Build Docker Image
if: ${{ github.ref == 'refs/heads/main' && success() }}
shell: bash
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-identity:${{ inputs.tag-name }} -f "${{ github.workspace }}/src/Services/Identity/Dockerfile" .
@ -38,6 +39,7 @@ runs:
- name: Publish Docker Image
if: ${{ github.ref == 'refs/heads/main' && success() }}
shell: bash
run: |
docker push ${{ inputs.registry-username }}/booking-microservices-flight:${{ inputs.tag-name }}
docker push ${{ inputs.registry-username }}/booking-microservices-identity:${{ inputs.tag-name }}