Skip to content

Commit cb29b46

Browse files
authored
feat: add user build args (#14256)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-cloud-python/issues) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 69b0d9d commit cb29b46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ steps:
2929
- '--cache=true'
3030
# (Optional but recommended) Sets a time-to-live for cache layers
3131
- '--cache-ttl=24h'
32+
# Use a consistent, non-root UID/GID for automated builds.
33+
- '--build-arg=UID=1000'
34+
- '--build-arg=GID=1000'
3235

3336
# The 'images' section is no longer needed because Kaniko pushes the image itself.
3437

0 commit comments

Comments
 (0)