Create workflowbuild_CPU

This commit is contained in:
McCloudS
2024-03-16 14:07:51 -06:00
committed by GitHub
parent 869c8f9749
commit 03ec0a46c5

29
.github/workflowbuild_CPU 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