Skip to content

Commit

Permalink
Build docker images for scheduled runs (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Oct 1, 2020
1 parent 0e03349 commit 1880f96
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-docker-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ jobs:
docker images
- name: Publish main images to DockerHub Registry
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push daskdev/dask-jobqueue:${{ matrix.jobqueue }}
- name: Publish secondary images to DockerHub Registry
if: matrix.jobqueue == 'sge' && github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
if: matrix.jobqueue == 'sge'
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push daskdev/dask-jobqueue:${{ matrix.jobqueue }}-slave

0 comments on commit 1880f96

Please sign in to comment.