File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 3131 - name : Build Docker image
3232 run : |
3333 export DOCKER_BUILDKIT=0
34+ echo "Debug: Project name extraction:"
35+ cat pyproject.toml | grep '^name =' | cut -d '"' -f 2
36+ echo "Debug: Version extraction:"
37+ cat pyproject.toml | grep '^version =' | cut -d '"' -f 2
38+ echo "Debug: Full command that will be run:"
39+ echo "docker build --build-arg=\"USE_LOCAL_FREESURFER=${{ github.event.inputs.use_local_freesurfer || 'False' }}\" -t openneuropet/$(cat pyproject.toml | grep '^name =' | cut -d '"' -f 2):$(cat pyproject.toml | grep '^version =' | cut -d '"' -f 2) ."
3440 make dockerbuild USE_LOCAL_FREESURFER=${{ github.event.inputs.use_local_freesurfer || 'False' }}
3541
3642 - name : Push Docker image
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ pythondeps:
2727
2828USE_LOCAL_FREESURFER ?= False
2929dockerbuild :
30- docker build --build-arg=" USE_LOCAL_FREESURFER=$( USE_LOCAL_FREESURFER) " -t openneuropet/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2) :$(shell cat pyproject.toml | grep version | head -n 1 | cut -d '"' -f 2) .
31- docker build --build-arg=" USE_LOCAL_FREESURFER=$( USE_LOCAL_FREESURFER) " -t openneuropet/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2) :latest .
30+ docker build --build-arg=" USE_LOCAL_FREESURFER=$( USE_LOCAL_FREESURFER) " -t openneuropet/$(shell cat pyproject.toml | grep '^ name =' | cut -d '"' -f 2) :$(shell cat pyproject.toml | grep '^ version =' | cut -d '"' -f 2) .
31+ docker build --build-arg=" USE_LOCAL_FREESURFER=$( USE_LOCAL_FREESURFER) " -t openneuropet/$(shell cat pyproject.toml | grep '^ name =' | cut -d '"' -f 2) :latest .
3232
3333dockerpush : dockerbuild
34- docker push openneuropet/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2) :$(shell cat pyproject.toml | grep version | head -n 1 | cut -d '"' -f 2)
35- docker push openneuropet/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2) :latest
34+ docker push openneuropet/$(shell cat pyproject.toml | grep '^ name =' | cut -d '"' -f 2) :$(shell cat pyproject.toml | grep '^ version =' | cut -d '"' -f 2)
35+ docker push openneuropet/$(shell cat pyproject.toml | grep '^ name =' | cut -d '"' -f 2) :latest
3636
3737html :
3838 cd docs && make html
You can’t perform that action at this time.
0 commit comments