-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finalize BuildKite build & release scripts.
- Loading branch information
Arik Kfir
committed
Nov 1, 2017
1 parent
7e2f4eb
commit 4ec5720
Showing
2 changed files
with
12 additions
and
4 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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
steps: | ||
|
||
- label: Docker image | ||
- label: Build Docker image | ||
command: | ||
- TAG=${BUILDKITE_TAG:-${BUILDKITE_COMMIT}} | ||
- gcloud docker -- build --tag gcr.io/infolinks-gcr/slugger:${TAG} . | ||
- gcloud docker -- push gcr.io/infolinks-gcr/slugger:${TAG} | ||
- gcloud docker -- build --tag gcr.io/infolinks-gcr/slugger:${BUILDKITE_COMMIT} . | ||
- gcloud docker -- push gcr.io/infolinks-gcr/slugger:${BUILDKITE_COMMIT} |
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: | ||
|
||
- label: Build versioned Docker image | ||
command: | ||
- gcloud docker -- pull gcr.io/infolinks-gcr/slugger:${BUILDKITE_COMMIT} | ||
- gcloud docker -- tag gcr.io/infolinks-gcr/slugger:${BUILDKITE_COMMIT} infolinks/slugger:${VERSION} | ||
- gcloud docker -- push infolinks/slugger:${VERSION} | ||
- gcloud docker -- tag gcr.io/infolinks-gcr/slugger:${BUILDKITE_COMMIT} infolinks/slugger:latest | ||
- gcloud docker -- push infolinks/slugger:latest |