diff --git a/.github/workflows/docker-build-publish.yml b/.github/workflows/docker-build-publish.yml index 33282f3..060f45d 100644 --- a/.github/workflows/docker-build-publish.yml +++ b/.github/workflows/docker-build-publish.yml @@ -4,11 +4,6 @@ on: push: # Publish semver tags as releases. tags: [ 'v*.*.*' ] - workflow_dispatch: - inputs: - tag: - description: 'Tag to build and publish' - required: true env: # Use docker.io for Docker Hub if empty @@ -64,13 +59,8 @@ jobs: tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} - - # If steps.meta.outputs.tags is empty, use the tag provided in the workflow dispatch - - name: Generate workflow dispatch tags - if: steps.meta.outputs.tags == '' - id: dispatch_tags - run: | - echo "TAGS=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.tag }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest" >> $GITHUB_ENV + type=match,pattern=v(.*-beta),group=1 + type=match,pattern=v.*-(beta),group=1 # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action diff --git a/pyproject.toml b/pyproject.toml index f2b7c9b..9312545 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nlp-server" -version = "0.2.0" +version = "0.3.0-beta.1" description = "Originated from spacy-cookiecutter by Microsoft" authors = ["Daniel Chalef <131175+danielchalef@users.noreply.github.com>"] license = "MIT"