Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
acadeb22
Commit
acadeb22
authored
2 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
docker: add dhtnode image
parent
ff7c80d4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/release-package.yml
+38
-3
38 additions, 3 deletions
.github/workflows/release-package.yml
docker/DockerfileDhtnode
+4
-0
4 additions, 0 deletions
docker/DockerfileDhtnode
with
42 additions
and
3 deletions
.github/workflows/release-package.yml
+
38
−
3
View file @
acadeb22
...
...
@@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support
# documentation.
name
:
Create release, publish Docker images and python package
name
:
Release actions
on
:
push
:
...
...
@@ -16,6 +16,7 @@ env:
IMAGE_NAME
:
${{ github.repository }}/opendht
IMAGE_NAME_DEPS_LLVM
:
${{ github.repository }}/opendht-deps-llvm
IMAGE_NAME_LLVM
:
${{ github.repository }}/opendht-llvm
IMAGE_NAME_DHTNODE
:
${{ github.repository }}/dhtnode
jobs
:
build-and-push-deps-image
:
...
...
@@ -107,7 +108,7 @@ jobs:
id
:
meta
uses
:
docker/metadata-action@v4
with
:
images
:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME_DEPS }}
images
:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME_DEPS
_LLVM
}}
-
name
:
Build and push Docker image
uses
:
docker/build-push-action@v3
...
...
@@ -141,7 +142,7 @@ jobs:
uses
:
docker/metadata-action@v4
with
:
images
:
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME
_LLVM
}}
-
name
:
Build and push Docker image
uses
:
docker/build-push-action@v3
...
...
@@ -152,6 +153,40 @@ jobs:
tags
:
${{ steps.meta.outputs.tags }}
labels
:
${{ steps.meta.outputs.labels }}
build-and-push-image-dhtnode
:
name
:
dhtnode Docker image (LLVM)
runs-on
:
ubuntu-latest
permissions
:
contents
:
read
packages
:
write
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
Log in to the Container registry
uses
:
docker/login-action@v2
with
:
registry
:
${{ env.REGISTRY }}
username
:
${{ github.actor }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Extract metadata (tags, labels) for Docker
id
:
meta
uses
:
docker/metadata-action@v4
with
:
images
:
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME_DHTNODE }}
-
name
:
Build and push Docker image
uses
:
docker/build-push-action@v3
with
:
context
:
.
file
:
docker/DockerfileDhtnode
push
:
true
tags
:
${{ steps.meta.outputs.tags }}
labels
:
${{ steps.meta.outputs.labels }}
build-python-wheel
:
name
:
Release and build Python Wheel package
runs-on
:
ubuntu-latest
...
...
This diff is collapsed.
Click to expand it.
docker/DockerfileDhtnode
0 → 100644
+
4
−
0
View file @
acadeb22
FROM ghcr.io/savoirfairelinux/opendht/opendht:latest
CMD ["dhtnode", "-b", "bootstrap.jami.net", "-p", "4222", "--proxyserver", "8080"]
EXPOSE 4222/udp
EXPOSE 8080/tcp
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment