mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
feat: Switch CI and container registry
This commit is contained in:
parent
e0883445a7
commit
e59533bf43
3 changed files with 43 additions and 53 deletions
52
.drone.yml
52
.drone.yml
|
@ -1,52 +0,0 @@
|
|||
---
|
||||
|
||||
type: docker
|
||||
kind: pipeline
|
||||
name: build-latest-container
|
||||
|
||||
steps:
|
||||
- name: build latest container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: keyoxide/keyoxide
|
||||
tags: latest
|
||||
- name: build tag container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: keyoxide/keyoxide
|
||||
auto_tag: true
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
||||
---
|
||||
|
||||
type: docker
|
||||
kind: pipeline
|
||||
name: build-dev-container
|
||||
|
||||
steps:
|
||||
- name: build dev container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: keyoxide/keyoxide
|
||||
tags: dev
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- dev
|
||||
event:
|
||||
- push
|
|
@ -12,7 +12,7 @@ package.json
|
|||
yarn.lock
|
||||
robots.txt
|
||||
\.licenseignore
|
||||
\.drone.yml
|
||||
\.woodpecker.yml
|
||||
\.editorconfig
|
||||
\.envrc
|
||||
shell.nix
|
||||
|
|
42
.woodpecker.yml
Normal file
42
.woodpecker.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
pipeline:
|
||||
build-latest-container:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: codeberg.org
|
||||
username:
|
||||
from_secret: codeberg_username
|
||||
password:
|
||||
from_secret: codeberg_password
|
||||
repo: keyoxide/keyoxide-web
|
||||
tags: latest
|
||||
when:
|
||||
branch: main
|
||||
event: tag
|
||||
|
||||
build-tag-container:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: codeberg.org
|
||||
username:
|
||||
from_secret: codeberg_username
|
||||
password:
|
||||
from_secret: codeberg_password
|
||||
repo: keyoxide/keyoxide-web
|
||||
auto_tag: true
|
||||
when:
|
||||
branch: main
|
||||
event: tag
|
||||
|
||||
build-dev-container:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: codeberg.org
|
||||
username:
|
||||
from_secret: codeberg_username
|
||||
password:
|
||||
from_secret: codeberg_password
|
||||
repo: keyoxide/keyoxide-web
|
||||
tags: dev
|
||||
when:
|
||||
branch: dev
|
||||
event: push
|
Loading…
Reference in a new issue