This is a tool build to simply invoke the
tar
command.
Arguments passed to this builder will be passed to tar
directly.
The following examples demonstrate build requests that use this builder.
This cloudbuild.yaml
archives and compresses the build cache directories.
steps:
- name: gcr.io/$PROJECT_ID/tar
args: ['cpzf', 'cache.tar.gz', '/root/.gradle']
steps:
- name: gcr.io/$PROJECT_ID/tar
args: ['xpzf', 'cache.tar.gz']