logging
This commit is contained in:
parent
3b98ba922b
commit
176ce2b913
13
dist/index.js
vendored
13
dist/index.js
vendored
@ -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
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
5
index.js
5
index.js
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user