mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-22 00:01:08 +07:00
Update docker strategy
This commit is contained in:
parent
31cd8a5211
commit
474294ced5
@ -5,7 +5,7 @@ import fs from 'fs'
|
||||
export default class Dockerfile extends Regex {
|
||||
constructor (root = null) {
|
||||
root = path.join(process.env.GITHUB_WORKSPACE, root)
|
||||
core.debug(fs.readdirSync(root))
|
||||
|
||||
if (fs.statSync(root).isDirectory()) {
|
||||
root = path.join(root, 'Dockerfile')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user