diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 659f8faa..53faf927 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -35,20 +35,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Lowercase the repo name - run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} - - name: Check if image exists - id: image_check - run: docker manifest inspect ${{ env.REGISTRY }}/${{ env.REPO }}-ocr-api:${{ env.VERSION }} > /dev/null ; echo $? - name: Build and Push backend uses: ./.github/actions/build-publish-ocr - if: steps.image_check.outcome == "manifest unknown" with: deploy_env: ${{ env.deploy_env }} token: ${{ secrets.GITHUB_TOKEN }}