Skip to content

Manual build of docker image #77

Manual build of docker image

Manual build of docker image #77

# Candace Savonen May 2022
name: Manual build of docker image
on:
workflow_dispatch:
inputs:
directory:
description: 'File path on GitHub to Dockerfile? e.g. base_ottr'
required: true
type: string
tag:
description: 'Tag e.g. jhudsl/base_ottr:main'
required: true
type: string
dockerhubpush:
description: 'Push to Dockerhub? true or false'
required: false
default: 'false'
type: string
jobs:
build-it:
steps:

Check failure on line 25 in .github/workflows/manual_dispatch.yml

View workflow run for this annotation

GitHub Actions / Manual build of docker image

Invalid workflow file

The workflow is not valid. .github/workflows/manual_dispatch.yml (Line: 25, Col: 5): Required property is missing: runs-on
- name: Docker build
if: ${{ steps.image_name.outputs.any_changed == 'true'}}
uses: ./.github/workflows/
with:
directory: ${{ matrix.config.dir }}
tag: ${{ matrix.config.name }}
dockerhubpush: false
token: ${{ secrets.GH_PAT }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}