diff options
author | 2023-09-04 21:40:54 +0100 | |
---|---|---|
committer | 2023-09-04 21:40:54 +0100 | |
commit | 3c3a9594319f57abd84e38885404f35994b08211 (patch) | |
tree | f6d46ff7770853c0d331f5fd339c1d84ccd6d88e | |
parent | Add to sys.path in Alembic env (diff) |
Also tag GHCR images with major version number (#75)
This will allow users to pin to a specific major version, allowing for minor updates but no breaking changes
-rw-r--r-- | .github/workflows/build-deploy.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 3b7e15b..b797e17 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -42,6 +42,7 @@ jobs: type=raw,value=${{ inputs.sha-tag }} type=raw,value=latest type=semver,pattern=v{{version}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} + type=semver,pattern=v{{major}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} - name: Build and push uses: docker/build-push-action@v4 |