A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Switch ci.yml from ng to ngx
Marc Schaeferf8991ca8e09e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 7165a27c0..c5bc1937b 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -224,7 +224,7 @@ jobs:name: Get versionid: get_versionrun: |- echo ::set-output name=version::${GITHUB_REF#refs/tags/ng-}+ echo ::set-output name=version::${GITHUB_REF#refs/tags/ngx-}-name: Create releaseid: 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: falseprerelease: 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-latestneeds: [tests, codeformatting, codestyle]steps:@@ -261,8 +261,8 @@ jobs:id: preparerun: |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}:latestINSPECT_TAG=${IMAGE_NAME}:latestelif [[ $GITHUB_REF == refs/heads/* ]]; thenTAGS=${IMAGE_NAME}:${GITHUB_REF#refs/heads/}