mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
23 lines
No EOL
859 B
YAML
23 lines
No EOL
859 B
YAML
pipeline:
|
|
build:
|
|
image: bash
|
|
commands:
|
|
- podman build . --tag codeberg.org/dragongoose/safetwitch-backend:edge
|
|
publish:
|
|
image: bash
|
|
commands:
|
|
- podman login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD codeberg.org
|
|
- podman push codeberg.org/dragongoose/safetwitch-backend:edge
|
|
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
|
|
when:
|
|
- event: tag
|
|
tag: v*
|
|
|
|
|