Skip to content

.github/workflows/reusable_build.yml #1

.github/workflows/reusable_build.yml

.github/workflows/reusable_build.yml #1

name: Reusable workflow for Build and push to ECR
on:
workflow_dispatch:
inputs:
ecr:
required: true
description: "Aws account string for the ECR"
default: 932427637498.dkr.ecr.us-west-2.amazonaws.com
type: string
ecr_repo_name:
required: true
description: "Name of the ECR repo "
type: string
dockerfile:
required: false
description: "Path to Dockerfile"
type: string
jobs:
build:
uses: dollarshaveclub/dsc-github-actions/.github/workflows/build.yml@main

Check failure on line 22 in .github/workflows/reusable_build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable_build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/reusable_build.yml" -> "dollarshaveclub/dsc-github-actions/.github/workflows/build.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
ecr: ${{ inputs.ecr }}
ecr_repo_name: ${{ inputs.ecr_repo_name }}
dockerfile: ${{ inputs.dockerfile }}
secrets:
AWS_ECR_ACCESS_KEY_TEST: ${{ secrets.AWS_ECR_ACCESS }}
AWS_ECR_ACCESS_SECRET_TEST: ${{ secrets.AWS_ECR_SECRET }}