-
Notifications
You must be signed in to change notification settings - Fork 856
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb8cdb2
commit 17c7cd9
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM nxyt/sqlx-cli | ||
|
||
VOLUME /code | ||
WORKDIR /code | ||
|
||
ENTRYPOINT ["sqlx"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Cargo | ||
|
||
This Container Builder build step runs the | ||
[`sqlx-cli`](https://github.com/launchbadge/sqlx/tree/main/sqlx-cli) tool. | ||
|
||
## Building this builder | ||
|
||
To build this builder, run the following command in this directory. | ||
|
||
$ gcloud builds submit . --config=cloudbuild.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
steps: | ||
- name: 'gcr.io/cloud-builders/docker' | ||
id: 'sqlx' | ||
args: ['build', '--tag=gcr.io/$PROJECT_ID/sqlx', '.'] | ||
|
||
timeout: 2400s | ||
|
||
images: ['gcr.io/$PROJECT_ID/sqlx'] | ||
tags: ['cloud-builders-community'] |