mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-21 02:36:46 +00:00
Add setup-buildx action (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
836357fa9e
commit
6df1822dc3
20 changed files with 11823 additions and 0 deletions
17
setup-buildx/__tests__/github.test.ts
Normal file
17
setup-buildx/__tests__/github.test.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import * as github from '../src/github';
|
||||
|
||||
describe('github', () => {
|
||||
it('returns latest buildx GitHub release', async () => {
|
||||
const release = await github.getRelease('latest');
|
||||
console.log(release);
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).not.toEqual('');
|
||||
});
|
||||
|
||||
it('returns v0.2.2 buildx GitHub release', async () => {
|
||||
const release = await github.getRelease('v0.2.2');
|
||||
console.log(release);
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).toEqual('v0.2.2');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue