Fix conditions
This commit is contained in:
parent
4fcff77998
commit
0657826ac5
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-images.yml
vendored
4
.github/workflows/build-images.yml
vendored
|
@ -31,13 +31,13 @@ jobs:
|
|||
install: true
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
if: ${{ github.ref != 'refs/heads/master' }} && ${{ github.event_name != 'pull_request' }} || ${{ github.event_name == 'schedule' }}
|
||||
if: (github.ref != 'refs/heads/master' && github.event_name != 'pull_request') || github.event_name == 'schedule'
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
if: ${{ github.ref != 'refs/heads/master' }} && ${{ github.event_name != 'pull_request' }} || ${{ github.event_name == 'schedule' }}
|
||||
if: (github.ref != 'refs/heads/master' && github.event_name != 'pull_request') || github.event_name == 'schedule'
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue