Rename build_GPU to build_GPU.yml
This commit is contained in:
30
.github/workflows/build_GPU.yml
vendored
Normal file
30
.github/workflows/build_GPU.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Build_Subgen_Dockerfile_GPU
|
||||
|
||||
on:
|
||||
push:
|
||||
# branches:
|
||||
# - 'main'
|
||||
# paths-ignore:
|
||||
# - '**.md'
|
||||
# - '**.yml'
|
||||
paths:
|
||||
- 'requirements.txt'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3.0.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push GPU
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: mccloud/subgen:latest
|
||||
Reference in New Issue
Block a user