Skip to content

Commit 24e9bc3

Browse files
Add GCR build script and remove workflow
1 parent 88822d4 commit 24e9bc3

File tree

3 files changed

+30
-38
lines changed

3 files changed

+30
-38
lines changed

.github/workflows/build_and_push.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

cloudbuild_depl.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Build
2+
timeout: 20m0s
3+
4+
steps:
5+
- name: "gcr.io/cloud-builders/docker:20.10.14"
6+
args:
7+
- build
8+
- -t
9+
- us.gcr.io/deepsource-production/swift-format:$TAG_NAME
10+
- -t
11+
- us.gcr.io/deepsource-production/swift-format:latest
12+
- .
13+
14+
images: ['us.gcr.io/deepsource-production/swift-format:$TAG_NAME', 'us.gcr.io/deepsource-production/swift-format:latest']
15+
16+
options:
17+
machineType: 'E2_HIGHCPU_32'

cloudbuild_depl_dev.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Build
2+
timeout: 40m0s
3+
steps:
4+
- name: "gcr.io/cloud-builders/docker"
5+
args:
6+
- build
7+
- --tag=us.gcr.io/deepsource-dev/swift-format:dev
8+
- .
9+
10+
images: ['us.gcr.io/deepsource-dev/swift-format:dev']
11+
12+
options:
13+
machineType: 'E2_HIGHCPU_32'

0 commit comments

Comments
 (0)