Skip to content

LASB-2748: Resolve critical vulnerabilities reported by Snyk #13

LASB-2748: Resolve critical vulnerabilities reported by Snyk

LASB-2748: Resolve critical vulnerabilities reported by Snyk #13

# This workflow will build and deploy the current branch to dev.
name: Build image and deploy to DEV
permissions:
id-token: write
contents: read
on:
pull_request:
branches:
- master
jobs:
build-and-push-image:
uses: ./.github/workflows/build-and-push-docker.yml

Check failure on line 16 in .github/workflows/cp-build-and-deploy-dev.yml

View workflow run for this annotation

GitHub Actions / Build image and deploy to DEV

Invalid workflow file

The workflow is not valid. In .github/workflows/cp-build-and-deploy-dev.yml (Line: 16, Col: 11): Error from called workflow ministryofjustice/laa-nolasa/.github/workflows/build-and-push-docker.yml@5daed3b12d03620996e01c0b6e901fcf732fa76e (Line: 35, Col: 14): Unrecognized named-value: 'inputs-docker-tag'. Located at position 1 within expression: inputs-docker-tag
with:
ecr-repository: ${{ vars.ECR_REPOSITORY }}
docker-tag: ${{ github.sha }}
aws-region: ${{ vars.ECR_REGION }}
secrets:
ecr-role: ${{ secrets.ECR_ROLE_TO_ASSUME}}
deploy-application-to-dev:
needs: build-and-push-image
uses: ./.github/workflows/deploy-to-cloud-platform.yml
with:
env-name: development
helm-values-file: values_dev.yaml
ecr-repository: ${{ vars.ECR_REPOSITORY }}
docker-tag: ${{ github.sha }}
ecr-base-uri: 754256621582.dkr.ecr.eu-west-2.amazonaws.com
secrets:
kube-cluster: ${{ secrets.KUBE_CLUSTER }}
kube-namespace: ${{ secrets.KUBE_NAMESPACE }}
kube-cert: ${{ secrets.KUBE_CERT }}
kube-token: ${{ secrets.KUBE_TOKEN }}