-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add docker build to goreleaser #11
base: main
Are you sure you want to change the base?
Add docker build to goreleaser #11
Conversation
Dockerfile
Outdated
@@ -0,0 +1,3 @@ | |||
FROM scratch | |||
COPY ./bin/workos /bin/workos | |||
ENTRYPOINT ["/bin/workos"] |
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.
Can you add a new line to the end of this file?
@@ -61,3 +61,10 @@ brews: | |||
commit_author: | |||
name: WorkOS | |||
email: [email protected] | |||
dockers: | |||
- ids: | |||
- linux |
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 wonder if it's worth building/publishing images for x86-64
and ARM
? (For Windows and ARM machines)
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.
not sure, but if the aim is to provide support for ci pipelines, it seems that linux
should be enough.
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.
Add docker image build to goreleaser. Also, update github action workflow to login to the ecr public registry. This will require aws credentials to be setup in the repo as actions secrets.