mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
test: Add basic Github Actions config (#63)
* test: Add basic Github Actions config * fix(e2e-tests): handle asynchronous port publishing for ucind container * fix(e2e-tests): increase machine ready wait timeout 1->10s * fix: Pin GHA versions --------- Co-authored-by: Pavel Sviderski <me@psviderski.name>
This commit is contained in:
co-authored by
Pavel Sviderski
parent
365a5fc0b5
commit
69ebce57e9
@@ -57,6 +57,18 @@ corrosion-multiarch-image-push:
|
||||
ucind-image:
|
||||
docker build -t "$(UCIND_IMAGE)" --target ucind .
|
||||
|
||||
.PHONY: ucind-image-push
|
||||
ucind-image-push: ucind-image
|
||||
docker push "$(UCIND_IMAGE)"
|
||||
|
||||
.PHONY: ucind-multiarch-image-push
|
||||
ucind-multiarch-image-push:
|
||||
docker buildx build --push --platform linux/amd64,linux/arm64 -t "$(UCIND_IMAGE)" --target ucind .
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
.PHONY: vet
|
||||
vet:
|
||||
go vet ./...
|
||||
|
||||
Reference in New Issue
Block a user