-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Speedup docker multiarch build #1738
Conversation
213c6e2
to
af96959
Compare
.github/workflows/deploy-main.yml
Outdated
@@ -1,4 +1,4 @@ | |||
name: Deploy main | |||
name: Deploy main 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose that was a test
5e7ff71
to
a4cf30b
Compare
a4cf30b
to
829d5d0
Compare
Dockerfile
Outdated
FROM alpine AS release | ||
# Enable machine-id on alpine-linux (https://gitlab.alpinelinux.org/alpine/aports/-/issues/8761) | ||
RUN apk add dbus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We removed this lib on purpose because we were having a lot of problems with duplicate machineids on docker at the beginning of January. The PR with the fallback is here: #1797
This PR changes the build pipeline to use more of goreleaser's features, and improving cache and parallelization. The end goal is to have faster multi arch docker builds, but also speed our pipelines in general.
This PR changes the deploy main and release pipelines. This has not been totally tested because the only way to really test is is to do a real deploy main and release. It has been tested up to a point where it shouldn't be different from the previos pipeline.
Example runss:
In both examples the pipeline fails because of invalid credentials, so everything works until the actual publishing of artifacts.