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 workflow for building and pushing images #120

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

Falci
Copy link
Member

@Falci Falci commented Nov 23, 2023

The images will be published to ghcr.io and docker hub.

Each new git tag will generate/replace:
Example tag: v1.2.3

  • handshake-org/hnsd:latest
  • handshake-org/hnsd:1.2.3
  • handshake-org/hnsd:1.2
  • handshake-org/hnsd:1

Merges to master generates:

  • handshake-org/hnsd:edge

@Falci Falci force-pushed the docker1 branch 2 times, most recently from 0ce3f25 to dcb7d72 Compare November 23, 2023 13:26
@Falci
Copy link
Member Author

Falci commented Nov 23, 2023

Depends on actions/node-versions/pull/160

@rithvikvibhu
Copy link
Member

Tested this on my fork and it built good docker images.

Fork: https://github.com/rithvikvibhu/hnsd
Action run: https://github.com/rithvikvibhu/hnsd/actions/runs/6981130248/job/18997657554
Docker image published: https://hub.docker.com/repository/docker/rithvikvibhu/hnsd

And the image works:

docker run --name hnsd -p 5349:5349/udp -p 5350:5350/udp -p 5349:5349/tcp -p 5350:5350/tcp --mount type=bind,src=/tmp/hnsd,dst=/data rithvikvibhu/hnsd:edge -r 0.0.0.0:5350 -n 0.0.0.0:5349 -t -x /data

image

@rithvikvibhu rithvikvibhu merged commit 42aa53d into handshake-org:master Nov 24, 2023
4 checks passed
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.

2 participants