Compare commits

...

2 Commits

Author SHA1 Message Date
Dmitriy Pleshevskiy a88e5859fa
ci: use workflows
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/deployment/deploy Pipeline failed Details
2023-03-15 16:55:43 +03:00
Dmitriy Pleshevskiy 08e2528f76
chore: refac gitignore
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-03-15 16:41:41 +03:00
3 changed files with 22 additions and 24 deletions

19
.gitignore vendored
View File

@ -1,19 +1,6 @@
/*
!/*ignore
!/*file
!/*.nix
!/*.yml
!/*.json
!/*.ts
!/data
!/public
!/styles
!/translates
!/views
# misc
.DS_Store
# direnv
/.envrc
/.direnv/

12
.woodpecker/build.yml Normal file
View File

@ -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}

View File

@ -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