Skip to content

Commit

Permalink
Create docker-build-push.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoch78 committed Dec 18, 2024
1 parent 6cb5a91 commit bd3bd3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions theoriq/docker-build-push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
DOCKER_REPO=us-west1-docker.pkg.dev/chainml-lab-devops/docker-manual
IMAGE_TAG=`git rev-parse --abbrev-ref HEAD`-`date +%y%m%d-%H%M%S`-`git rev-parse --short head`
IMAGE_NAME=eliza-alpha-bot

DOCKER_FLAGS=--push

docker buildx build ${DOCKER_FLAGS} --platform=linux/amd64 -f ../Dockerfile -t ${DOCKER_REPO}/${IMAGE_NAME}:${IMAGE_TAG} ..
echo $DOCKER_TAG

0 comments on commit bd3bd3f

Please sign in to comment.