diff --git a/.woodpecker/.release-prerelease.yml b/.woodpecker/.release-prerelease.yml new file mode 100644 index 0000000..374ca2c --- /dev/null +++ b/.woodpecker/.release-prerelease.yml @@ -0,0 +1,22 @@ +when: + event: tag + evaluate: 'CI_COMMIT_TAG contains "-rc."' +steps: + build-latest-container: + image: woodpeckerci/plugin-docker-buildx + settings: + dry-run: true + registry: https://codeberg.org/v2 + username: + from_secret: codeberg_username + password: + from_secret: codeberg_password + repo: codeberg.org/keyoxide/keyoxide-web + default_tag: "next" + auto_tag: true + build_args_from_env: + - CI_COMMIT_SHA + - CI_COMMIT_BRANCH + +depends_on: + - test \ No newline at end of file diff --git a/.woodpecker/.release.yml b/.woodpecker/.release.yml index 5ccf827..9bdc769 100644 --- a/.woodpecker/.release.yml +++ b/.woodpecker/.release.yml @@ -1,10 +1,11 @@ when: - branch: main event: tag + evaluate: 'not (CI_COMMIT_TAG contains "-rc.")' steps: build-latest-container: image: woodpeckerci/plugin-docker-buildx settings: + dry-run: true registry: https://codeberg.org/v2 username: from_secret: codeberg_username