diff options
Diffstat (limited to 'push-docker.sh')
-rw-r--r-- | push-docker.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/push-docker.sh b/push-docker.sh deleted file mode 100644 index 3053253fe..000000000 --- a/push-docker.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -source "dockerfile-common.sh" - -export CONTAINER_NAME=$CONTAINER_NAME - -docker build . --target release --progress=plain -t $CONTAINER_NAME:latest --build-arg BUILDKIT_INLINE_CACHE=1 --platform=linux/$BUILDKIT_ARCH --cache-from $CONTAINER_NAME:latest - -if (($?)); then - echo "Failed to build container" - exit 1 -fi - -id=$(docker create $CONTAINER_NAME:latest) -if (($?)); then - echo "Failed to cp container" - exit 1 -fi - -REGISTRY="ghcr.io/jarred-sumner" -docker push $REGISTRY/$CONTAINER_NAME:latest -# docker push $ECR/$CONTAINER_NAME:$BUILD_ID |