Skip to content

Commit

Permalink
fix: Format and rebuild image
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Mar 24, 2023
1 parent f67dcec commit 0bb9752
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/io/stenic/jpipe/plugin/EcrPlugin.groovy
Expand Up @@ -4,15 +4,15 @@ import io.stenic.jpipe.event.Event

class EcrPlugin extends Plugin {

protected String dockerImage = 'amazon/aws-cli';
private String credentialsId;
private String repository;
private String region;
protected String dockerImage = 'amazon/aws-cli'
private String credentialsId
private String repository
private String region

EcrPlugin(Map opts = [:]) {
this.repository = opts.get('repository', '');
this.credentialsId = opts.get('credentialsId', '');
this.region = opts.get('region', '');
this.repository = opts.get('repository', '')
this.credentialsId = opts.get('credentialsId', '')
this.region = opts.get('region', '')
}

public Map getSubscribedEvents() {
Expand Down Expand Up @@ -41,4 +41,5 @@ class EcrPlugin extends Plugin {
}
}
}

}

0 comments on commit 0bb9752

Please sign in to comment.