Skip to content

Commit

Permalink
Merge pull request #3 from getwilds/fix-gha
Browse files Browse the repository at this point in the history
Fixing bash variables in the build-and-push GitHub Action
  • Loading branch information
tefirman authored Feb 23, 2024
2 parents 69eb86b + e41f392 commit d1481a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
for TAG in $TOOL/*
do
if [[ $TAG =~ Dockerfile_* ]]; then
IFS="_" read -ra newarr <<< "$TAG"
docker build --platform linux/amd64 -t ghcr.io/getwilds/$TOOL:${newarr[1]} -f $TOOL/$TAG --push .
IFS="Dockerfile_" read -ra newarr <<< "$TAG"
docker build --platform linux/amd64 -t ghcr.io/getwilds/$TOOL:${newarr[1]} -f $TAG --push .
fi
done
fi
Expand Down

0 comments on commit d1481a6

Please sign in to comment.