vm-import-controller/scripts/package
Gaurav Mehta 0628775de7 migration ci from drone to gh actions
fixed up build issues

include ci feedback

remove copy to dist/artifacts
2024-04-30 11:06:04 +10:00

14 lines
229 B
Bash
Executable File

#!/bin/bash
set -e
source $(dirname $0)/version
cd $(dirname $0)/..
IMAGE=${REPO}/harvester-vm-import-controller:${TAG}
DOCKERFILE=package/Dockerfile
buildx build --load \
-f ${DOCKERFILE} -t ${IMAGE} .
echo Built ${IMAGE}