Skip to content

Update docker.yml

Update docker.yml #6

Workflow file for this run

name: Docker Application CI/CD Pipeline
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master" ]
jobs:
build:
uses: anujdevopslearn/GithubActionsWorkflows/.github/workflows/maven.yml@main
with:
build-script: pom.xml
docker-build:
uses: anujdevopslearn/GithubActionsWorkflows/.github/workflows/docker.yml@main

Check failure on line 16 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / Docker Application CI/CD Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 16, Col: 11): Input image_name is required, but not provided while calling. .github/workflows/docker.yml (Line: 18, Col: 21): Invalid input, build-script is not defined in the referenced workflow.
with:
build-script: pom.xml
secrets:
docker_user: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}