(it has been solved)
Glad to see you in Github Community Forum!
What do you mean the file here? If you’d like to modify the Dockerfile, before the
docker build command, use
echo to append the
ADD which can rename the filename.
- run: | echo COPY file1 ./file2 >> Dockerfile # append the COPY command to Dockerfile - name: Build the Docker image run: docker build . --file Dockerfile --tag myproject