diff --git a/.github/actions/build-publish-ocr/action.yml b/.github/actions/build-publish-ocr/action.yml index 695bed8e..3eee1e84 100644 --- a/.github/actions/build-publish-ocr/action.yml +++ b/.github/actions/build-publish-ocr/action.yml @@ -13,12 +13,6 @@ runs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ inputs.token }} - name: Lowercase the repo name shell: bash run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 53faf927..3970e340 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -35,6 +35,12 @@ 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: Build and Push backend uses: ./.github/actions/build-publish-ocr with: