Skip to content

Commit

Permalink
update makefile with proper dockerhub owner (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendhouseart authored Dec 18, 2024
1 parent 410799a commit 0f9dbd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ check-black:
pythondeps:
pip install --upgrade pip && pip install -e .

# create petdafec docker image with tag (petdeface:X.X.X) from toml file by using cat and grep to
# create docker image with tag (martinnoergaard/petprep_extract_tacs:X.X.X) from toml file by using cat and grep to
# extract the project name from the pyproject.toml file

USE_LOCAL_FREESURFER ?= False
Expand All @@ -20,8 +20,8 @@ dockerbuild:
docker build --build-arg="USE_LOCAL_FREESURFER=$(USE_LOCAL_FREESURFER)" -t martinnoergaard/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2):latest .

dockerpush: dockerbuild
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)
docker push openneuropet/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2):latest
docker push martinnoergaard/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2):$(shell cat pyproject.toml | grep version | head -n 1 | cut -d '"' -f 2)
docker push martinnoergaard/$(shell cat pyproject.toml | grep name | cut -d '"' -f 2):latest

.PHONY: docs
docs:
Expand Down

0 comments on commit 0f9dbd4

Please sign in to comment.