Skip to content

Commit

Permalink
fix add missing repository and version of docker image tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
jandry committed Jun 8, 2024
1 parent 5c848c9 commit 5bb62de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ docker buildx use multiplatform-builder

# build karate-chrome docker image that includes karate fatjar + maven jars for convenience
# Only possible for linux/amd64 as chrome not available on linux/arm64
docker buildx build --platform linux/amd64 --cache-from=type=local,src=./target/docker --cache-to=type=local,dest=./target/docker -t karate-chrome -t karate-chrome:latest karate-docker/karate-chrome
docker buildx build --platform linux/amd64 --cache-from=type=local,src=./target/docker --cache-to=type=local,dest=./target/docker -t karatelabs/karate-chrome:${{ github.event.inputs.version }} -t karatelabs/karate-chrome:latest karate-docker/karate-chrome
# build karate-chromium docker image that includes karate fatjar + maven jars for convenience
# Both platform
docker buildx build --platform linux/amd64,linux/arm64 --cache-from=type=local,src=./target/docker --cache-to=type=local,dest=./target/docker -t karate-chromium karate-docker/karate-chromium
docker buildx build --platform linux/amd64,linux/arm64 --cache-from=type=local,src=./target/docker --cache-to=type=local,dest=./target/docker -t karatelabs/karate-chromium:${{ github.event.inputs.version }} -t karatelabs/karate-chromium:latest karate-docker/karate-chromium

# Select image for test depending current OS
if [[ "$OSTYPE" == "darwin"* ]]; then
Expand Down

0 comments on commit 5bb62de

Please sign in to comment.