Skip to content

Commit

Permalink
Wrapping image
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <jacob.woffenden@digital.justice.gov.uk>
  • Loading branch information
Jacob Woffenden committed Jan 19, 2024
1 parent 7d1d074 commit 4573e03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions allspark-notebook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ pull:
docker pull ${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}

build:
docker-compose build tests
docker compose build tests
docker build --network=${NETWORK} -t ${REGISTRY}/${REPOSITORY}:${IMAGE_TAG} .

push:
docker push ${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}

test: clean up
echo Testing Container Version: ${IMAGE_TAG}
docker-compose --project-name ${REPOSITORY} run --rm inspec exec tests -t docker://${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}
docker compose --project-name ${REPOSITORY} run --rm inspec exec tests -t "docker://${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}"

clean:
docker-compose down --volumes --remove-orphans
docker-compose --project-name ${REPOSITORY} down --remove-orphans
docker compose down --volumes --remove-orphans
docker compose --project-name ${REPOSITORY} down --remove-orphans

up:
docker-compose --project-name ${REPOSITORY} up -d tests test
docker compose --project-name ${REPOSITORY} up -d tests test

0 comments on commit 4573e03

Please sign in to comment.