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

feat: linux-musl target,docker image,add rc4-md5 cipher #555

Merged
merged 6 commits into from
Aug 26, 2024

Conversation

litcc
Copy link
Contributor

@litcc litcc commented Aug 24, 2024

🤔 This is a ...

  • New feature
  • Other (CI script)

🔗 Related issue link

None

💡 Background and solution

  1. I need to deploy the clash proxy in a containerized environment.
  2. Some proxy service providers only support rc4-md5 cipher.

📝 Changelog

Tweaked CI build to add x86_64-unknown-linux-musl target
Added docker image based on x86_64-unknown-linux-musl package.
Added rc4-md5 cipher parsing.

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Changelog is provided or not needed

You need to add two action secrets: DOCKER_USERNAME and DOCKER_PASSWORD.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/Dockerfile Outdated Show resolved Hide resolved
.github/Dockerfile Outdated Show resolved Hide resolved
Copy link
Member

@ibigbug ibigbug left a comment

Choose a reason for hiding this comment

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

lgtm only small note bar @Itsusinn 's comments

Itsusinn
Itsusinn previously approved these changes Aug 25, 2024
push: true
tags: ${{ env.TAG_VERSION }},${{ env.TAG_LATEST }}

- name: Delete all images from package without tags
Copy link
Member

Choose a reason for hiding this comment

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

Remove this if we only build images on release

@ibigbug
Copy link
Member

ibigbug commented Aug 26, 2024

image

@litcc
Copy link
Contributor Author

litcc commented Aug 26, 2024

image

The latest docker builds use secrets.GITHUB_TOKEN which is automatically injected by action and does not need to be generated separately.

@ibigbug
Copy link
Member

ibigbug commented Aug 26, 2024

For docker hub or GitHub docker registry?

@litcc
Copy link
Contributor Author

litcc commented Aug 26, 2024

For docker hub or GitHub docker registry?

Currently only for GitHub image registry (ghcr.io), do I need to support docker.io?

@ibigbug
Copy link
Member

ibigbug commented Aug 26, 2024

nah ghcr is good enough for now

Copy link
Member

@ibigbug ibigbug left a comment

Choose a reason for hiding this comment

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

tysm!

@ibigbug ibigbug merged commit 6a05099 into Watfaq:master Aug 26, 2024
23 checks passed
@ibigbug ibigbug changed the title feate: linux-musl target,docker image,add rc4-md5 cipher feat: linux-musl target,docker image,add rc4-md5 cipher Aug 26, 2024
@litcc litcc deleted the dev branch August 27, 2024 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants