Skip to content

Commit

Permalink
Docker fix flutter#2: Docker build requries '.'
Browse files Browse the repository at this point in the history
Even with `-f file`, `.` is still required. Podman didn't have a problem
with this.
  • Loading branch information
jtmcdole committed Dec 4, 2024
1 parent 09fad27 commit c1bd767
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app_dart/cloudbuild_app_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:

# Build docker image
- name: 'us-docker.pkg.dev/cloud-builders/ga/v1/docker'
args: ['build', '-t', 'us-docker.pkg.dev/$PROJECT_ID/appengine/default.version-$SHORT_SHA', '-f', 'Dockerfile.app_dart']
args: ['build', '-t', 'us-docker.pkg.dev/$PROJECT_ID/appengine/default.version-$SHORT_SHA', '-f', 'Dockerfile.app_dart', '.']

# Trigger the cloud build that deploys the docker image
- name: gcr.io/cloud-builders/gcloud
Expand Down
2 changes: 1 addition & 1 deletion auto_submit/cloudbuild_auto_submit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
steps:
# Build docker image
- name: 'us-docker.pkg.dev/cloud-builders/ga/v1/docker'
args: ['build', '-t', 'us-docker.pkg.dev/$PROJECT_ID/appengine/auto-submit.version-$SHORT_SHA', '-f', 'Dockerfile.auto_submit']
args: ['build', '-t', 'us-docker.pkg.dev/$PROJECT_ID/appengine/auto-submit.version-$SHORT_SHA', '-f', 'Dockerfile.auto_submit', '.']

# Trigger the cloud build that deploys the docker image
- name: gcr.io/cloud-builders/gcloud
Expand Down

0 comments on commit c1bd767

Please sign in to comment.