logging
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user