Skip to content

Commit

Permalink
add docker cloud builder targe
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro M. Ramallo <[email protected]>
  • Loading branch information
aramallo committed Jan 29, 2025
1 parent 87f32e7 commit f5e3b45
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,19 @@ docker-build:
-t "bondy-prod" \
-f deployment/Dockerfile .

docker-cloud-build:
docker buildx install
docker stop bondy-prod || true
docker rm bondy-prod || true
docker rmi bondy-prod || true
docker build \
--builder cloud-leapsight-bondy-cloud-builder \
--pull \
--platform linux/$(DOCKER_PLATFORM) \
--load \
-t "bondy-prod" \
-f deployment/Dockerfile .

docker-build-alpine:
docker buildx install
docker stop bondy-prod || true
Expand Down Expand Up @@ -225,3 +238,4 @@ docker-run-prod:
docker-scan-prod:
docker scan bondy-prod


0 comments on commit f5e3b45

Please sign in to comment.