Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Switch ci.yml from ng to ngx

Marc Schaeferf8991ca8e09e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7165a27c0..c5bc1937b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -224,7 +224,7 @@ jobs:
name: Get version
id: get_version
run: |
- echo ::set-output name=version::${GITHUB_REF#refs/tags/ng-}
+ echo ::set-output name=version::${GITHUB_REF#refs/tags/ngx-}
-
name: Create release
id: create_release
@@ -232,7 +232,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: ng-${{ steps.get_version.outputs.version }}
+ tag_name: ngx-${{ steps.get_version.outputs.version }}
release_name: Paperless-ngx ${{ steps.get_version.outputs.version }}
draft: false
prerelease: false
@@ -252,7 +252,7 @@ jobs:
# build and push image to docker hub.
build-docker-image:
- if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/ng-'))
+ if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/ngx-'))
runs-on: ubuntu-latest
needs: [tests, codeformatting, codestyle]
steps:
@@ -261,8 +261,8 @@ jobs:
id: prepare
run: |
IMAGE_NAME=ghcr.io/${{ github.repository }}
- if [[ $GITHUB_REF == refs/tags/ng-* ]]; then
- TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/tags/ng-},${IMAGE_NAME}:latest
+ if [[ $GITHUB_REF == refs/tags/ngx-* ]]; then
+ TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/tags/ngx-},${IMAGE_NAME}:latest
INSPECT_TAG=${IMAGE_NAME}:latest
elif [[ $GITHUB_REF == refs/heads/* ]]; then
TAGS=${IMAGE_NAME}:${GITHUB_REF#refs/heads/}