mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 01:42:34 +00:00
chore(release): release on separate branch with changelog
This commit is contained in:
parent
a5501b90ee
commit
94ac615380
8 changed files with 117 additions and 325 deletions
|
|
@ -2,13 +2,14 @@ class Docker {
|
|||
readonly repository = 'renovate/renovate';
|
||||
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
||||
readonly tag = '19.234.1-slim';
|
||||
readonly tagSuffix = '-slim';
|
||||
|
||||
image(): string {
|
||||
return `${this.repository}:${this.tag}`;
|
||||
}
|
||||
|
||||
version(): string {
|
||||
return this.tag;
|
||||
return this.tag.replace(this.tagSuffix, '');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
5
src/get-version.ts
Normal file
5
src/get-version.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import * as core from '@actions/core';
|
||||
import Docker from './docker';
|
||||
|
||||
const docker = new Docker();
|
||||
core.setOutput('version', docker.version());
|
||||
Loading…
Add table
Add a link
Reference in a new issue