Fix Git context

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-10-03 22:26:00 +02:00
parent b1b7db3498
commit c24a92baa4
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 5 additions and 4 deletions

2
dist/index.js generated vendored
View file

@ -13712,7 +13712,7 @@ const buildx = __importStar(__webpack_require__(295));
const core = __importStar(__webpack_require__(186));
const github = __importStar(__webpack_require__(438));
exports.tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-build-push-'));
const defaultContext = `https://github.com/${github.context.repo.owner}/${github.context.repo.repo}#${github.context.ref}`;
const defaultContext = `https://github.com/${github.context.repo.owner}/${github.context.repo.repo}.git#${github.context.ref.replace(/^refs\//, '')}`;
function getInputs() {
return __awaiter(this, void 0, void 0, function* () {
return {