Skip to content

Update github-actions-builddockerfile.yml #228

Update github-actions-builddockerfile.yml

Update github-actions-builddockerfile.yml #228

name: Build_Subgen_Dockerfile_GPU
on:
#push:
# branches:
# - 'main'
# paths-ignore:
# - '**.md'
# - '**.yml'
paths:
- 'requirements.txt'

Check failure on line 11 in .github/workflows/github-actions-builddockerfile.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions-builddockerfile.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/[email protected]
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