This commit is contained in:
James Brumond 2023-08-18 22:59:59 -07:00
parent 3b98ba922b
commit 176ce2b913
Signed by: james
GPG Key ID: E8F2FC44BAA3357A
3 changed files with 5 additions and 15 deletions

13
dist/index.js vendored
View File

@ -2794,14 +2794,6 @@ module.exports = require("path");
/***/ }),
/***/ 477:
/***/ ((module) => {
"use strict";
module.exports = require("querystring");
/***/ }),
/***/ 404:
/***/ ((module) => {
@ -2863,7 +2855,7 @@ var __webpack_exports__ = {};
const core = __nccwpck_require__(186);
const http = __nccwpck_require__(685);
const https = __nccwpck_require__(687);
const querystring = __nccwpck_require__(477);
// const querystring = require('querystring');
const req_timeout_ms = 30_000;
const manifest_media_type = 'application/vnd.docker.distribution.manifest.v2+json';
@ -2940,6 +2932,7 @@ async function get_manifest(input) {
throw new Error('failed to fetch existing manifest');
}
console.log('get manifest response', { status, headers, body });
return body;
}
@ -2951,8 +2944,6 @@ async function put_manifest(new_tag, manifest, input) {
'content-length': content.byteLength,
};
console.log({ manifest, req_headers });
http_basic_auth(req_headers, input);
// if (input.token) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
const core = require('@actions/core');
const http = require('http');
const https = require('https');
const querystring = require('querystring');
// const querystring = require('querystring');
const req_timeout_ms = 30_000;
const manifest_media_type = 'application/vnd.docker.distribution.manifest.v2+json';
@ -79,6 +79,7 @@ async function get_manifest(input) {
throw new Error('failed to fetch existing manifest');
}
console.log('get manifest response', { status, headers, body });
return body;
}
@ -90,8 +91,6 @@ async function put_manifest(new_tag, manifest, input) {
'content-length': content.byteLength,
};
console.log({ manifest, req_headers });
http_basic_auth(req_headers, input);
// if (input.token) {