From 01e383eb607f925d746b95eeda548d6d9aac521c Mon Sep 17 00:00:00 2001 From: Sean McGary Date: Mon, 13 Jan 2025 15:42:36 -0600 Subject: [PATCH] fix: docker tags cant have "+"s in them --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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