Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Publish to docker hub again
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Aug 29, 2021
1 parent b594496 commit 312f155
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 312f155

Please sign in to comment.