Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
fix condition to skip gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobnguyenn committed Aug 23, 2023
1 parent e3a361b commit 2704ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
backend_image_publish:
runs-on: "ubuntu-20.04"
if: ${{ inputs.SERVICE_NAME }} == "gorya-backend"
if: ${{ inputs.SERVICE_NAME == 'gorya-backend' }}
env:
SERVICE_NAME: ${{ inputs.SERVICE_NAME }}
IMAGE_TAG: ${{ inputs.IMAGE_TAG }}
Expand All @@ -36,7 +36,7 @@ jobs:
docker push ghcr.io/${{github.actor}}/gorya-backend:${{ env.IMAGE_TAG }}
ui_image_publish:
runs-on: "ubuntu-20.04"
if: ${{ inputs.SERVICE_NAME }} == "gorya-ui"
if: ${{ inputs.SERVICE_NAME == 'gorya-ui' }}
env:
SERVICE_NAME: ${{ inputs.SERVICE_NAME }}
IMAGE_TAG: ${{ inputs.IMAGE_TAG }}
Expand Down

0 comments on commit 2704ac7

Please sign in to comment.