Configuring the GitHub Actions workflow - Documentation for BMC AMI DevOps for Db2 13.1
James Austin For the BMC AMI DevOps Universal Connector image, GitHub Actions requires the same user id of the user running the self-hosted runner.
In the following example, the image for the BMC AMI DevOps Universal Connector image tag and options use the user id, 1008, to run the container process because the self-hosted runner is running with the same user id, 1008.
The runner creates a sub-folder in its working folder, which is used as the default working directory of the container. This sub-folder is created with the runner's user id.
At the checkout step, the container process performs the following activities:
- Deletes all files or folders from the working directory.
- Fetches the files or folders from the repository and creates them in the working directory.
To create the file or folder in the working folder, the container process must have the same user id as the runner.
Example
image: <Image location>/devopsuc:13.01.00.0002-GA
options: -u 1008