mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-21 14:39:15 +00:00
gcloud: Thu Feb 20 10:40:27 UTC 2025
This commit is contained in:
parent
44f319c56c
commit
8d1a988ab5
295 changed files with 11246 additions and 956 deletions
|
|
@ -39,6 +39,11 @@ EXAMPLES
|
|||
$ gcloud beta builds submit "gs://bucket/object.zip" \
|
||||
--tag=gcr.io/my-project/image --config=config.yaml
|
||||
|
||||
To submit a build with source from a source manifest:
|
||||
|
||||
$ gcloud beta builds submit "gs://bucket/manifest.json" \
|
||||
--tag=gcr.io/my-project/image --config=config.yaml
|
||||
|
||||
To submit a build with local source source.tgz asynchronously:
|
||||
|
||||
$ gcloud beta builds submit "source.tgz" \
|
||||
|
|
@ -71,15 +76,17 @@ POSITIONAL ARGUMENTS
|
|||
|
||||
[SOURCE]
|
||||
The location of the source to build. The location can be a directory
|
||||
on a local disk, a gzipped archive file (.tar.gz) in Google Cloud
|
||||
Storage, or a Git repo url starting with http:// or https://. If the
|
||||
source is a local directory, this command skips the files specified
|
||||
in the --ignore-file. If --ignore-file is not specified,
|
||||
use.gcloudignore file. If a .gcloudignore file is absent and a
|
||||
.gitignore file is present in the local source directory, gcloud will
|
||||
use a generated Git-compatible .gcloudignore file that respects your
|
||||
.gitignored files. The global .gitignore is not respected. For more
|
||||
information on .gcloudignore, see gcloud topic gcloudignore.
|
||||
on a local disk, an archive file (e.g., .zip, .tar.gz) or a manifest
|
||||
file (.json) in Google Cloud Storage, a Git repo url starting with
|
||||
http:// or https://, a 2nd-gen Cloud Build repository resource, or a
|
||||
Developer Connect GitRepositoryLink resource. If the source is a
|
||||
local directory, this command skips the files specified in the
|
||||
--ignore-file. If --ignore-file is not specified, use.gcloudignore
|
||||
file. If a .gcloudignore file is absent and a .gitignore file is
|
||||
present in the local source directory, gcloud will use a generated
|
||||
Git-compatible .gcloudignore file that respects your .gitignored
|
||||
files. The global .gitignore is not respected. For more information
|
||||
on .gcloudignore, see gcloud topic gcloudignore.
|
||||
|
||||
--no-source
|
||||
Specify that no source should be uploaded with this build.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue