Rename .github/workflowbuild_CPU to .github/workflows/build_CPU.yml

This commit is contained in:
McCloudS
2024-03-16 14:08:48 -06:00
committed by GitHub
parent a07cbf16e1
commit 1591812163

29
.github/workflows/build_CPU.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Build_Subgen_Dockerfile_CPU
on:
#push:
# branches:
# - 'main'
# paths-ignore:
# - '**.md'
# - '**.yml'
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 CPU
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.cpu
push: true
tags: mccloud/subgen:cpu