Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile
README.md
cloudbuild.yaml

README.md

tar

This is a tool build to simply invoke the tar command.

Arguments passed to this builder will be passed to tar directly.

Examples

The following examples demonstrate build requests that use this builder.

Archive and compress caches

This cloudbuild.yaml archives and compresses the build cache directories.

steps:
- name: gcr.io/$PROJECT_ID/tar
  args: ['cpzf', 'cache.tar.gz', '/root/.gradle']

Extract an existing archive

steps:
- name: gcr.io/$PROJECT_ID/tar
  args: ['xpzf', 'cache.tar.gz']
You can’t perform that action at this time.