From 22b092a77c2596b32df300eaee0962b0a0ddbb42 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Tue, 4 Jul 2023 21:04:24 +0000 Subject: [PATCH] Now using codeberg-ci --- .woodpecker.yml | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8391bf2..25c3120 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,24 +1,15 @@ 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 - secrets: [ docker_username, docker_password ] + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le + repo: codeberg.org/${CI_REPO_OWNER}/safetwitch-backend + registry: codeberg.org + tags: edge + username: ${CI_REPO_OWNER} + password: + from_secret: docker_password when: - - event: tag - tag: v* - + event: push + path: *file \ No newline at end of file