Skip to content

Commit

Permalink
fix: Use github registry
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Mar 15, 2023
1 parent b597033 commit 6cb4b1c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/io/stenic/jpipe/plugin/ConventionalCommitPlugin.groovy
Expand Up @@ -4,12 +4,12 @@ import io.stenic.jpipe.event.Event

class ConventionalCommitPlugin extends Plugin {

protected String dockerImage = 'stenicbv/release:0.1.13';
private Boolean useSemanticRelease = false;
protected String dockerImage = 'ghcr.io/stenic/jpipe-release:1.2'
private Boolean useSemanticRelease = false

private String releaseBranches;
private String prereleaseBranches;
private String extraArgs;
private String releaseBranches
private String prereleaseBranches
private String extraArgs

ConventionalCommitPlugin(Map config = [:]) {
this.releaseBranches = config.get('releaseBranches', 'master,main')
Expand Down Expand Up @@ -58,7 +58,7 @@ class ConventionalCommitPlugin extends Plugin {
private String deduplicate(script, String version) {
def i = 1
def validate = "${version}-${i}"

while (this.tagExists(script, validate)) {
i++
validate = "${version}-${i}"
Expand Down Expand Up @@ -95,7 +95,6 @@ class ConventionalCommitPlugin extends Plugin {
return script.sh(script: "git rev-list ${tag} >/dev/null", returnStatus: true) == 0
}


public void doPublish(Event event) {
this.publishVersion(event.version, event.script, event.env)
}
Expand Down

0 comments on commit 6cb4b1c

Please sign in to comment.