Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabrot committed Mar 4, 2024
1 parent 37cba87 commit a333015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -e
# Define the GitHub token to get rid of binstall warning to rule this out as cause for error
if GITHUB_TOKEN=$(gh auth token); then
# Build the Docker image, passing the GitHub token as a build argument
docker buildx build . --progress=plain --build-arg GITHUB_TOKEN="$GITHUB_TOKEN"
docker buildx build . --build-arg GITHUB_TOKEN="$GITHUB_TOKEN"
else
# Build the Docker image without the GitHub token
docker buildx build . --progress=plain
docker buildx build .
fi
# Build for amd64 - works
#docker build --platform linux/amd64 .
Expand Down

0 comments on commit a333015

Please sign in to comment.