Skip to content

Automate Docker Image Build and Publish #15

Automate Docker Image Build and Publish

Automate Docker Image Build and Publish #15

name: Build Docker Image
on:
pull_request:
push:
branches:
- main
jobs:
build:
permissions:
contents: read
uses: ./.github/workflows/build-and-publish.yml

Check failure on line 13 in .github/workflows/build-docker-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-docker-image.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-docker-image.yml" -> "./.github/workflows/build-and-publish.yml" : (Line: 187, Col: 13): Unrecognized named-value: 'secrets'. Located at position 19 within expression: inputs.publish && secrets.DOCKER_USERNAME != '' && secrets.DOCKER_PASSWORD != ''
with:
publish: false