Skip to content

Commit c389bdf

Browse files
ci: fix ci.yml
1 parent 13cd45c commit c389bdf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
docker run --rm opensourcecobol/opensourcecobol4j:latest sh -c "ocesql --version | grep 'Version $Open_COBOL_ESQL_4J_version'"
4444
4545
- name: Login to Docker Hub
46-
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == 'true'
46+
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == true
4747
uses: docker/login-action@v3
4848
with:
4949
username: ${{ secrets.DOCKERHUB_USERNAME }}
5050
password: ${{ secrets.DOCKERHUB_TOKEN }}
5151

5252
- name: Push to Docker Hub
53-
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == 'true'
53+
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == true
5454
run: |
5555
docker push opensourcecobol/opensourcecobol4j:"$version_string_prefix"
5656
docker push opensourcecobol/opensourcecobol4j:latest
@@ -79,13 +79,13 @@ jobs:
7979
docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'unicode/utf-8 support'"
8080
8181
- name: Login to Docker Hub
82-
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == 'true'
82+
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == true
8383
uses: docker/login-action@v3
8484
with:
8585
username: ${{ secrets.DOCKERHUB_USERNAME }}
8686
password: ${{ secrets.DOCKERHUB_TOKEN }}
8787

8888
- name: Push to Docker Hub
89-
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == 'true'
89+
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == true
9090
run: |
9191
docker push opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix"

0 commit comments

Comments
 (0)