Skip to content

.github/workflows/build_deploy.yml #1

.github/workflows/build_deploy.yml

.github/workflows/build_deploy.yml #1

Workflow file for this run

name: Build and Deploy to Kubernetes
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 "
default: avro-schema-registry
type: string
dockerfile:
required: false
description: "Path to Dockerfile"
default: /Dockerfile
type: string
chart_path:
required: false
description: "Path to helm charts"
default: deploy/helm/avro-schema-registry
type: string
release_name:
required: false
description: "Helm release name"
default: prd-avro-schema-registry
type: string
namespace:
required: false
description: "Kubernetes namespace name"
default: prd-avro-schema-registry
type: string
release_path:
required: false
description: "Path to release file"
default: deploy/helm/avro-schema-registry/releases/production.yaml
type: string
runner:
description: 'The runner to use for this job'
required: true
type: string
default: 'arc-runner-63'
jobs:
Build:
uses: dollarshaveclub/dsc-github-actions/.github/workflows/build.yml@main
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 }}
Deploy:
needs: build
uses: dollarshaveclub/dsc-github-actions/.github/workflows/deploy.yml@main

Check failure on line 59 in .github/workflows/build_deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build_deploy.yml" -> "dollarshaveclub/dsc-github-actions/.github/workflows/deploy.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 }}
chart_path: ${{ inputs.chart_path }}
release_name: ${{ inputs.release_name }}
namespace: ${{ inputs.namespace }}
release_path: ${{ inputs.release_path }}
runner: ${{ inputs.runner }}
secrets:
AWS_ECR_ACCESS_KEY_TEST: ${{ secrets.AWS_ECR_ACCESS }}
AWS_ECR_ACCESS_SECRET_TEST: ${{ secrets.AWS_ECR_SECRET }}
KUBECONFIG_63: ${{ secrets.KUBECONFIG_63 }}
KUBECONFIG_APPLE: ${{ secrets.KUBECONFIG_APPLE }}