Skip to content

Commit

Permalink
Fixing inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
SYusupov committed Sep 17, 2024
1 parent 4e9dca5 commit 9f6fca7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
build_docker_image:
description: "Whether to build the Docker image or not"
required: false
default: "false"
default: false
docker_image_tag:
description: "Tag of the latest correct Docker Image"
required: false
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
name: Build and Push Docker Image
runs-on: ubuntu-latest

if: ${{ github.event.inputs.build_docker_image || 'false' }}
if: ${{ github.event.inputs.build_docker_image || false }}

steps:
- name: Checkout Code
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: |
DOCKERHUB_USERNAME="${{ secrets.DOCKERHUB_USERNAME }}"
if [ ${{ github.event.inputs.build_docker_image || 'false' }} == "true" ]; then
if [ ${{ github.event.inputs.build_docker_image || false }} == true ]; then
# dynamically set the image tag based on the commit ID
DOCKER_IMAGE_TAG=$(git rev-parse HEAD)
else
Expand Down

0 comments on commit 9f6fca7

Please sign in to comment.