Skip to content

Commit

Permalink
Merge pull request #6 from getzep/beta-release-tag
Browse files Browse the repository at this point in the history
beta release tags
  • Loading branch information
danielchalef authored Aug 4, 2023
2 parents 8d9a61a + 161b581 commit 0bba6e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 0bba6e0

Please sign in to comment.