diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b6e6d4..c15184b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,10 +49,18 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - uses: docker/login-action@v1 + if: github.event_name != 'pull_request' + with: + username: rustopsbot + password: ${{ secrets.DOCKER_HUB_TOKEN }} + - id: meta uses: docker/metadata-action@v3 with: - images: ghcr.io/rust-lang/rust + images: | + ghcr.io/rust-lang/rust + rustlang/rust tags: ${{ matrix.tags }} - uses: docker/build-push-action@v2