2
0
Fork 0
mirror of https://code.forgejo.org/docker/build-push-action.git synced 2025-08-11 17:10:54 +00:00

Check if buildx available on runner

Use default buildx on runner

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-12 15:58:09 +02:00
parent 15c6a86f2d
commit 5bb3f5433b
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
9 changed files with 299 additions and 171 deletions

View file

@ -7,6 +7,6 @@ export interface GitHubRelease {
export const getRelease = async (version: string): Promise<GitHubRelease | null> => {
const url: string = `https://github.com/docker/buildx/releases/${version}`;
const http: httpm.HttpClient = new httpm.HttpClient('ghaction-docker-buildx');
const http: httpm.HttpClient = new httpm.HttpClient('setup-buildx');
return (await http.getJson<GitHubRelease>(url)).result;
};