Skip to content

Docker action persistence not working as expected #26057

Answered by BrightRan
Derongan asked this question in Actions
Discussion options

You must be logged in to vote

@derongan ,

How are things going? Is my suggestions in the previous reply helpful to your?

Let me add some more points here:

  1. If you execute these commands on a Docker container (or a Docker container action), when building and running the container, it will automatically mount volumes on the container to share files between the runner machine. From the logs of the workflow run, you can see the command line like as below example:

    /usr/bin/docker run … -v “/home/runner/work/_temp/_github_home”:"/github/home" -v “/home/runner/work/_temp/_github_workflow”:"/github/workflow" -v “/home/runner/work/TestClock/TestClock”:"/github/workspace" …

This means files updat…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants