mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-16 16:17:11 +02: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:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user