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:
Anton Ovchinnikov
2025-05-20 23:59:02 +02:00
committed by GitHub
co-authored by Pavel Sviderski
parent 365a5fc0b5
commit 69ebce57e9
4 changed files with 51 additions and 6 deletions
+12
View File
@@ -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 ./...