|
|
|
@ -33,10 +33,11 @@ jobs: |
|
|
|
|
|
|
|
- name: Login to DockerHub |
|
|
|
if: github.event_name != 'pull_request' |
|
|
|
uses: docker/login-action@v2 |
|
|
|
uses: docker/login-action@v3 |
|
|
|
with: |
|
|
|
username: ${{ secrets.DOCKER_HUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} |
|
|
|
registry: ghcr.io |
|
|
|
username: ${{ github.actor }} |
|
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
- name: Build and push |
|
|
|
uses: docker/build-push-action@v3 |
|
|
|
|