Rename github-actions-builddockerfile.yml to build_GPU

This commit is contained in:
McCloudS
2024-03-20 14:58:51 -06:00
committed by GitHub
parent a659dbf45b
commit b997f2dc43

30
.github/workflows/build_GPU vendored Normal file
View 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