Hello,
I’m currently trying to setup pipeline to deploy AWS Serverless Application from Github to AWS Lambda via CircleCI using two docker images.
Below is my config.yml (redacted for simplicity). I have been trying this from 2days with no success.
Whichever image is specified first, that will return it’s version. Like in below config.yml, I’ll get aws --version will get printed, but **dotnet --version**
returns command not found.
Please help!
version: 2.1
jobs:
build-and-deploy:
docker:
- image: amazon/aws-cli:latest
- image: mcr.microsoft.com/dotnet/sdk:5.0
working_directory: ~/project/AWSServerlessApplication/AWSServerlessApplication
steps:
- checkout
- run:
name: AWS CLI check
command: aws --version
- run:
name: dotnet CLI check
command: dotnet --version
workflows:
Deployment:
jobs:
- build-and-deploy