Skip to content

Commit

Permalink
fix: docker tags cant have "+"s in them
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Jan 13, 2025
1 parent 7a56202 commit 01e383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
REGISTRY: "public.ecr.aws/z6g0f8n7"
REPOSITORY: ${{ github.event.repository.name }}
run: |
VERSION=$(cat VERSION | tr -d '[:space:]')
VERSION=$(cat VERSION | tr -d '[:space:]' | sed 's/+/_/g')
if [[ $GITHUB_REF == refs/heads/master || $GITHUB_REF == refs/tags/* ]]; then
docker buildx build --platform "linux/amd64,linux/arm64" -t $REGISTRY/$REPOSITORY:$VERSION -t $REGISTRY/$REPOSITORY:latest --push .
else
Expand Down

0 comments on commit 01e383e

Please sign in to comment.