diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65153c05..357e6d4a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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