Skip to content

Commit

Permalink
Added docker build hook with buildkit
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Jan 18, 2021
1 parent 348b58f commit 53a2e2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hooks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

DOCKER_BUILDKIT=1 docker build -f $DOCKERFILE_PATH -t $IMAGE_NAME --build-arg GIT_USERNAME=$GIT_USERNAME --build-arg GIT_PASSWORD=$GIT_PASSWORD .

0 comments on commit 53a2e2b

Please sign in to comment.