mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-20 18:26:46 +00:00
Small refactor
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ec2628bb21
commit
26b3a3b0cd
4 changed files with 38 additions and 26 deletions
|
@ -16,6 +16,13 @@ describe('buildx', () => {
|
|||
expect(countBuilders).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it('platforms', async () => {
|
||||
const platforms = await buildx.platforms();
|
||||
console.log(`platforms: ${platforms}`);
|
||||
expect(platforms).not.toBeUndefined();
|
||||
expect(platforms).not.toEqual('');
|
||||
});
|
||||
|
||||
it('acquires v0.2.2 version of buildx', async () => {
|
||||
const buildxBin = await buildx.install('v0.2.2', tmpDir);
|
||||
console.log(buildxBin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue