Skip to content

Commit 254536a

Browse files
committed
issue(73261): potential fix for running tests inside Docker container
1 parent 539c5a5 commit 254536a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci-cd-java.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
echo "IMAGE_NAME=${IMAGE_NAME}" >> "$GITHUB_ENV"
9494
9595
- name: Build & run tests inside Docker
96-
if: inputs.runTestsInsideDocker == 'true'
96+
if: inputs.runTestsInsideDocker == true
9797
uses: docker/build-push-action@v6
9898
with:
9999
context: ${{ inputs.workingDirectory }}
@@ -123,7 +123,7 @@ jobs:
123123
echo "Perform release condition: PERFORM_RELEASE"
124124
125125
- name: Extract Docker metadata
126-
if: env.PERFORM_RELEASE == 'true'
126+
if: env.PERFORM_RELEASE == true
127127
id: meta
128128
uses: docker/metadata-action@v5
129129
with:
@@ -137,7 +137,7 @@ jobs:
137137
org.opencontainers.image.vendor=hsldevcom
138138
139139
- name: Setup Docker Buildx
140-
if: env.PERFORM_RELEASE == 'true'
140+
if: env.PERFORM_RELEASE == true
141141
uses: docker/setup-buildx-action@v3
142142

143143
- name: Login to Github Container Registry
@@ -148,7 +148,7 @@ jobs:
148148
password: ${{ secrets.DOCKER_PASSWORD }}
149149

150150
- name: Build & Push Docker image
151-
if: env.PERFORM_RELEASE == 'true'
151+
if: env.PERFORM_RELEASE == true
152152
uses: docker/build-push-action@v6
153153
with:
154154
context: ${{ inputs.workingDirectory }}

0 commit comments

Comments
 (0)