diff --git a/.github/workflows/publish-webapp.yml b/.github/workflows/publish-webapp.yml index 466eaf855c..a057f2c46e 100644 --- a/.github/workflows/publish-webapp.yml +++ b/.github/workflows/publish-webapp.yml @@ -88,6 +88,12 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: 🐋 Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: 🐳 Build image and push to GitHub Container Registry id: build_push uses: depot/build-push-action@5f3b3c2e5a00f0093de47f657aeaefcedff27d18 # v1.17.0 @@ -117,4 +123,4 @@ jobs: with: subject-name: ghcr.io/triggerdotdev/trigger.dev subject-digest: ${{ steps.build_push.outputs.digest }} - push-to-registry: true + push-to-registry: true \ No newline at end of file diff --git a/.github/workflows/publish-worker-v4.yml b/.github/workflows/publish-worker-v4.yml index 6ed490c947..fbf833fd63 100644 --- a/.github/workflows/publish-worker-v4.yml +++ b/.github/workflows/publish-worker-v4.yml @@ -81,10 +81,16 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: 🐋 Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: 🐳 Build image and push to GitHub Container Registry uses: depot/build-push-action@5f3b3c2e5a00f0093de47f657aeaefcedff27d18 # v1.17.0 with: file: ./apps/${{ matrix.package }}/Containerfile platforms: linux/amd64,linux/arm64 tags: ${{ steps.set_tags.outputs.image_tags }} - push: true + push: true \ No newline at end of file