Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig authored Feb 7, 2025
1 parent 735ecd6 commit c5578bc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ jobs:
- name: Build the Docker image
if: github.repository == 'rocker-org/ml'
run: docker build --no-cache --tag ghcr.io/rocker-org/ml:latest .
- name: Publish
- name: Publish to GHCR
if: github.repository == 'rocker-org/ml'
run: docker push ghcr.io/rocker-org/ml:latest
- name: Publish to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: rocker/ml
username: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKER_TOKEN }}

0 comments on commit c5578bc

Please sign in to comment.