diff --git a/.github/workflows/docker-develop-build.yml b/.github/workflows/docker-develop-build.yml index e5c16afc..44a61769 100644 --- a/.github/workflows/docker-develop-build.yml +++ b/.github/workflows/docker-develop-build.yml @@ -36,6 +36,13 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Login to ghcr.io + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push platform-specific images uses: docker/build-push-action@v6 @@ -46,6 +53,7 @@ jobs: push: true tags: | ${{ secrets.DOCKER_USERNAME }}/docsgpt:develop-${{ matrix.suffix }} + ghcr.io/${{ github.repository_owner }}/docsgpt:develop-${{ matrix.suffix }} provenance: false sbom: false cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/docsgpt:develop