DockerfileGPU Push #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DockerfileGPU Push | |
on: | |
workflow_dispatch: | |
schedule: | |
# Runs at 00:00 UTC every day | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- | |
name: Checkout 🛎 Ivy | |
uses: actions/checkout@v3 | |
- | |
name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push DockerfileGPU | |
run: | | |
docker build . --file docker/DockerfileGPU --tag unifyai/ivy:latest-gpu | |
docker push unifyai/ivy:latest-gpu |