I’ve copied the `script` entry given in the documentation of the atlassian/aws-code-deploy pipe and adapted to my needs:
pipelines:
branches:
master:
- step:
name: Build
image: node:10
script:
- ...
- step:
name: Deploy
script:
- pipe: atlassian/aws-code-deploy:0.2.1
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: 'us-east-2'
APPLICATION_NAME: $APPLICATION_NAME
COMMAND: 'upload'
ZIP_FILE: $ZIP_FILE
S3_BUCKET: $S3_BUCKET
When the pipeline is run, I get the following error:
<span><br> --volume=/opt/atlassian/pipelines/agent/build:/opt/atlassian/pipelines/agent/build \</span><span><br> --volume=/opt/atlassian/pipelines/agent/ssh:/opt/atlassian/pipelines/agent/ssh:ro \<br> ...</span><span><br>bash: docker: command not found</span><span> docker container run \</span>
My pipeline is using the default Docker image.