Compare commits
2 Commits
76c1027ab3
...
a88e5859fa
Author | SHA1 | Date |
---|---|---|
Dmitriy Pleshevskiy | a88e5859fa | |
Dmitriy Pleshevskiy | 08e2528f76 |
|
@ -1,19 +1,6 @@
|
|||
/*
|
||||
|
||||
!/*ignore
|
||||
!/*file
|
||||
!/*.nix
|
||||
!/*.yml
|
||||
|
||||
!/*.json
|
||||
!/*.ts
|
||||
|
||||
!/data
|
||||
!/public
|
||||
!/styles
|
||||
!/translates
|
||||
!/views
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
||||
# direnv
|
||||
/.envrc
|
||||
/.direnv/
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
when:
|
||||
event: push
|
||||
branch: main
|
||||
|
||||
pipeline:
|
||||
build-docker-image:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: ${ORG_REGISTRY}/${CI_REPO}
|
||||
tags:
|
||||
- ${CI_COMMIT_BRANCH}
|
||||
- ${CI_COMMIT_SHA:0:8}
|
|
@ -1,15 +1,14 @@
|
|||
depend_on:
|
||||
- build
|
||||
|
||||
skip_clone: true
|
||||
|
||||
when:
|
||||
event: [push, deployment]
|
||||
branch: main
|
||||
environment: prod
|
||||
|
||||
pipeline:
|
||||
build-docker-image:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: ${ORG_REGISTRY}/${CI_REPO}
|
||||
tags:
|
||||
- ${CI_COMMIT_BRANCH}
|
||||
- ${CI_COMMIT_SHA:0:8}
|
||||
|
||||
deploy:
|
||||
image: ${ORG_REGISTRY}/drone_plugins/docker_stack
|
||||
pull: true
|
Loading…
Reference in New Issue