mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-23 02:48:00 +02:00
Small refactor
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user