Docker Build and Push SSHbox Image #419
This file contains hidden or 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: Docker Build and Push SSHbox Image | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| - main | |
| tags: | |
| - "v*.*" | |
| paths: | |
| - "image/sshbox/**" | |
| - ".github/workflows/pytorch.yml" | |
| - "scripts/**" | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| build-and-push-sshbox: | |
| uses: ./.github/workflows/docker-build-template.yml | |
| with: | |
| # frontend expects pytorch image to be named sshbox | |
| # ...for historical reasons | |
| image_name: sshbox | |
| image_path: image/sshbox |