0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 13:13:00 -05:00
safetwitch-backend/.woodpecker.yml

24 lines
909 B
YAML
Raw Normal View History

2023-05-29 17:05:25 -05:00
pipeline:
2023-05-29 17:12:18 -05:00
build:
2023-05-29 17:16:48 -05:00
image: bash
2023-05-29 17:05:25 -05:00
commands:
2023-06-07 16:31:46 -05:00
- podman build . --tag codeberg.org/dragongoose/safetwitch-backend:edge
publish:
image: bash
2023-06-07 16:31:46 -05:00
commands:
- podman login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD codeberg.org
- podman push codeberg.org/dragongoose/safetwitch-backend:edge
2023-06-07 16:45:17 -05:00
secrets: [ docker_username, docker_password ]
publish-release:
image: bash
commands:
- podman tag codeberg.org/dragongoose/safetwitch-backend:edge codeberg.org/dragongoose/safetwitch-backend:lastest
- podman push codeberg.org/dragongoose/safetwitch-backend:latest
- podman tag codeberg.org/dragongoose/safetwitch-backend:latest codeberg.org/dragongoose/safetwitch-backend:$CI_COMMIT_TAG
- podman push codeberg.org/dragongoose/safetwitch-backend:$CI_COMMIT_TAG
secrets: [ docker_username, docker_password ]
2023-06-07 16:45:17 -05:00
when:
- event: tag
tag: v*