Rename build_GPU to build_GPU.yml

This commit is contained in:
McCloudS
2024-03-20 15:05:09 -06:00
committed by GitHub
parent 078349a317
commit 42f327a1cd

30
.github/workflows/build_GPU.yml 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