Skip to content

Commit

Permalink
Login to Docker Hub on PR and merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Dec 10, 2022
1 parent 6ea2b18 commit d877378
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11.0.11
- name: Log in to Docker Hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Run production migration
env:
MONGO_HOST: ${{ secrets.MONGO_HOST }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11.0.11
- name: Log in to Docker Hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Run local migration
run: ./gradlew clean run
- uses: kentaro-m/[email protected]
Expand Down

0 comments on commit d877378

Please sign in to comment.