I am trying to run a pipeline using a custom image and with increased memory. But the bitbucket-pipelines.yml file below does not seem to use the azure-cli image (the az command is not found).
How should the pipeline be defined?
(This is a snippet - the full version build a docker image and uploads it to Azure)
definitions:
services:
mydeploy:
image: microsoft/azure-cli:latest
memory: 6104
options:
docker: true
pipelines:
default:
- step:
services:
- mydeploy
size: 2x
script:
- az --version