2d3acc61e0
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
1.1 KiB
1.1 KiB
slug | displayed_sidebar |
---|---|
/1216/ci-cd-for-go-project | europa |
Go on Docker Hub
Dagger stand as a powerful CI/CD tool that works on any environment.
For instance, you can use go package to control the whole CI/CD process, from test to push into a remote registry.
:::tip Following examples can be used as a template for any standalone go project. :::
Test
You can then run unit test in your go project with
dagger do unit-test
:::tip You can also use dagger to write integration tests :::
Build
:::tip
You can control the binary platform with os
and arch
field.
:::
You can then build your binary with
dagger do build
Push
You can then build and push your go project with
dagger do push
Push multi-platform
Coming soon