Skip to content

Commit

Permalink
setup tasks for k3d cluster and test user, pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Oct 2, 2024
1 parent 8eaf672 commit 2a091e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tasks/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ tasks:
dockerfile:
description: "Path to the Dockerfile"
required: true
buildContext:
description: "Path to the Docker build context"
default: "."
required: false
options:
description: "Extra Docker CLI options"
default: "-q"
Expand Down Expand Up @@ -79,7 +83,7 @@ tasks:
-t ${{ .inputs.imageRepository }}:${{ .inputs.version }} \
-f ${{ .inputs.dockerfile }} \
--build-arg LOCAL_VERSION=${{ .inputs.version }} \
${{ .inputs.buildOptions }} .
${{ .inputs.buildOptions }} ${{ .inputs.buildContext }}
else
echo "Non-upstream flavor detected, skipping image build"
fi
Expand Down Expand Up @@ -168,6 +172,7 @@ tasks:
architecture: "amd64"
version: ${VERSION}
imageRepository: ghcr.io/defenseunicorns/leapfrogai/k3d-gpu
buildContext: "packages/k3d-gpu"

- name: sdk-image
description: "Create the LeapfrogAI SDK Docker image"
Expand Down

0 comments on commit 2a091e5

Please # to comment.