Skip to content
Snippets Groups Projects
build.sh 353 B
Newer Older
#!/bin/bash

# Also generated by chatGPT

# Name of your Docker image
IMAGE_NAME="gcli"

# Version of your Docker image
IMAGE_VERSION="latest"

# Build and tag the Docker image using Docker Buildx
docker buildx build -t "$IMAGE_NAME:$IMAGE_VERSION" .

# Optionally, you can push the image to a Docker registry
# docker push "$IMAGE_NAME:$IMAGE_VERSION"