mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2026-10-16 06:38:18 +07:00
Update Docker debugging.
This commit is contained in:
1 parent
160de0dcc1
commit
887f931751
1 file changed
+1
-1
+1
-1
@@ -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')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user