mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
Now using codeberg-ci
This commit is contained in:
parent
367b745268
commit
22b092a77c
1 changed files with 11 additions and 20 deletions
|
@ -1,24 +1,15 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- podman build . --tag codeberg.org/dragongoose/safetwitch-backend:edge
|
|
||||||
publish:
|
publish:
|
||||||
image: bash
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
commands:
|
settings:
|
||||||
- podman login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD codeberg.org
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||||
- podman push codeberg.org/dragongoose/safetwitch-backend:edge
|
repo: codeberg.org/${CI_REPO_OWNER}/safetwitch-backend
|
||||||
secrets: [ docker_username, docker_password ]
|
registry: codeberg.org
|
||||||
publish-release:
|
tags: edge
|
||||||
image: bash
|
username: ${CI_REPO_OWNER}
|
||||||
commands:
|
password:
|
||||||
- podman tag codeberg.org/dragongoose/safetwitch-backend:edge codeberg.org/dragongoose/safetwitch-backend:lastest
|
from_secret: docker_password
|
||||||
- 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 ]
|
|
||||||
when:
|
when:
|
||||||
- event: tag
|
event: push
|
||||||
tag: v*
|
path: *file
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue