In an Azure DevOps pipeline after downloading an artifact from a previous stage like this:
- download: 'current'
artifact: my_artifact
I want to reuse it in the Dockerfile of this Docker build task:
- task: Docker@2
displayName: Build
inputs:
command: build
containerRegistry: myConnection
repository: myRepository
like this:
COPY *.whl /myDir/
After the COPY command the target directory is still empty. Where are the files from the artifact and how do I copy them in the Dockerfile?