I'm setting up a pipeline for a java app. I can successfully build the app into a JAR, but I then want to create a docker container and add the JAR to that container.
My jar file is created at /drone/src/target/app.jar
However, when I try to ADD the jar during the container build stage, I get the following error...
ADD failed: stat /var/lib/docker/tmp/docker-builder947505275/app.jar: no such file or directory
How can I get my deploy stage to utilize the jar from the build stage?