sso-poc-marn/.woodpecker.yml

44 lines
1.1 KiB
YAML
Raw Permalink Normal View History

steps:
install-npm:
image: git.van-hemmen.com/guillaumehemmen/debian-node-firebase:debian_12-node_20
commands:
- npm install
build-web:
image: git.van-hemmen.com/guillaumehemmen/debian-node-firebase:debian_12-node_20
commands:
- npx expo export --platform web
docker-master:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.van-hemmen.com/guillaumehemmen/sso-poc-marn
tags: latest,${CI_COMMIT_SHA:0:8}
registry: git.van-hemmen.com
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- manual
branch: 'master'
docker-other:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.van-hemmen.com/guillaumehemmen/sso-poc-marn
tags: ${CI_COMMIT_SHA:0:8-tag-sha},${CI_COMMIT_BRANCH/\//-}
registry: git.van-hemmen.com
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- manual
branch:
exclude: 'master'