зеркало из https://github.com/mozilla/demo_docker.git
Create config.yml
This commit is contained in:
Родитель
bf8910e36d
Коммит
736f7679d0
|
@ -0,0 +1,31 @@
|
|||
# Reference: https://github.com/mozilla/pensieve/blob/master/.circleci/config.yml
|
||||
version: 2.1
|
||||
|
||||
jobs:
|
||||
# command for building an image with docker caching layer enabled
|
||||
build-and-push:
|
||||
# https://github.com/CircleCI-Public/gcp-gcr-orb/blob/master/src/executors/default.yml
|
||||
docker:
|
||||
- image: google/cloud-sdk
|
||||
steps:
|
||||
- checkout
|
||||
- setup_remote_docker:
|
||||
docker_layer_caching: true
|
||||
- gcp-gcr/gcr-auth
|
||||
- gcp-gcr/build-image:
|
||||
image: dummydocker
|
||||
- gcp-gcr/push-image:
|
||||
image: dummydocker
|
||||
|
||||
# See https://circleci.com/orbs/registry/orb/circleci/gcp-gcr
|
||||
orbs:
|
||||
gcp-gcr: circleci/gcp-gcr@0.7.1
|
||||
|
||||
workflows:
|
||||
build-and-deploy:
|
||||
jobs:
|
||||
- build-and-push:
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
Загрузка…
Ссылка в новой задаче