diff --git a/hooks/build b/hooks/build index 1594823..0ddea0e 100644 --- a/hooks/build +++ b/hooks/build @@ -1,3 +1,3 @@ #!/bin/bash docker buildx create --name=buildx-multi-arch --driver=docker-container --driver-opt=network=host -docker buildx build --builder=buildx-multi-arch --platform=linux/amd64,linux/arm64 --build-arg TAG=$DOCKER_TAG --tag=$IMAGE_NAME . \ No newline at end of file +docker buildx build --push --builder=buildx-multi-arch --platform=linux/amd64,linux/arm64 --build-arg TAG=$DOCKER_TAG --tag=$IMAGE_NAME . \ No newline at end of file diff --git a/hooks/push b/hooks/push new file mode 100644 index 0000000..241ff67 --- /dev/null +++ b/hooks/push @@ -0,0 +1,2 @@ +#!/bin/bash +echo "Push complete in build phase with custom build hook." \ No newline at end of file