diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b037c30e8d..6d012a9df5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: - name: "Setup environment" uses: "networktocode/gh-action-setup-poetry-environment@v2" - name: "Get image version" - run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV" + run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} | tr '+' '.' >> $GITHUB_ENV" - name: "Set up Docker Buildx" id: "buildx" uses: "docker/setup-buildx-action@v1" @@ -127,7 +127,7 @@ jobs: - name: "Setup environment" uses: "networktocode/gh-action-setup-poetry-environment@v2" - name: "Get image version" - run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV" + run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} | tr '+' '.' >> $GITHUB_ENV" - name: "Set up Docker Buildx" id: "buildx" uses: "docker/setup-buildx-action@v1" @@ -164,7 +164,7 @@ jobs: - name: "Setup environment" uses: "networktocode/gh-action-setup-poetry-environment@v2" - name: "Get image version" - run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV" + run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} | tr '+' '.' >> $GITHUB_ENV" - name: "Set up Docker Buildx" id: "buildx" uses: "docker/setup-buildx-action@v1"