Skip to content

Commit

Permalink
corect the type in reusable wf
Browse files Browse the repository at this point in the history
  • Loading branch information
MajoBerger committed Feb 22, 2024
1 parent 38face6 commit 5d16127
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }}
uses: ./.github/workflows/reusable-docker-build.yml
with:
run_python_version_script: 'true'
run_python_version_script: true
build_id: dspace-dependencies
image_name: dspace/dspace-dependencies
dockerfile_path: ./Dockerfile.dependencies
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
run_python_version_script:
required: false
default: false
type: boolean
# Build name/id for this Docker build. Used for digest storage to avoid digest overlap between builds.
build_id:
required: true
Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
uses: actions/checkout@v4

- name: Add version
if: ${{ env.run_python_version_script == 'true' }}
if: ${{ env.run_python_version_script }}
run: python scripts/sourceversion.py > dspace/config/VERSION_D.txt

# https://github.com/docker/setup-buildx-action
Expand Down

0 comments on commit 5d16127

Please sign in to comment.