mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-17 09:22:36 +00:00
refactor: convert project to typescript (#47)
* refactor: convert project to typescript * fix: image as last argument of docker run * ci: remove example as the build can act as example * fix: set tokenEnv to RENOVATE_TOKEN * fix: add trailing single quite to Docker --env arguments * fix: mount volume with config file to Docker container * chore: remove Prettier trailingComma on all This puts it back at the default, which is es5 style. * fix: correct package main to dist/indes.js * fix: use @actions/exec to execute docker child process * fix: use async/await for exec Co-authored-by: Michael Kriese <michael.kriese@visualon.de> * fix: use async/await in the runner Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
parent
47a19ef007
commit
ec8a542458
14 changed files with 160 additions and 61 deletions
15
src/docker.ts
Normal file
15
src/docker.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class Docker {
|
||||
readonly repository = 'renovate/renovate';
|
||||
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
||||
readonly tag = '19.228.1';
|
||||
|
||||
image(): string {
|
||||
return `${this.repository}:${this.tag}`;
|
||||
}
|
||||
|
||||
version(): string {
|
||||
return this.tag;
|
||||
}
|
||||
}
|
||||
|
||||
export default Docker;
|
||||
Loading…
Add table
Add a link
Reference in a new issue