Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rocpatel
Copy link
Contributor

@rocpatel rocpatel commented Aug 7, 2024

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.

Copy link

linear bot commented Aug 7, 2024

Dockerfile Outdated
@@ -0,0 +1,3 @@
FROM scratch
COPY ./bin/workos /bin/workos
ENTRYPOINT ["/bin/workos"]
Copy link
Collaborator

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
Copy link
Collaborator

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)

Copy link
Contributor Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, in that case, we might need to update the tags in the ECR public gallery because it shows Windows and ARM64 as supported platforms
Screenshot 2024-08-21 at 3 47 59 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants