forked from LBRYCommunity/lbry-sdk
move to docker dir
This commit is contained in:
parent
c914f24089
commit
a77b1f9997
3 changed files with 5 additions and 4 deletions
|
@ -1,2 +0,0 @@
|
||||||
*
|
|
||||||
!lbrynet
|
|
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -183,13 +183,16 @@ jobs:
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: lbrynet-ubuntu-16.04
|
name: lbrynet-ubuntu-16.04
|
||||||
|
- run: |
|
||||||
|
chmod +x lbrynet
|
||||||
|
mv lbrynet docker
|
||||||
- name: build and push docker image
|
- name: build and push docker image
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: lbry/lbrynet
|
repository: lbry/lbrynet
|
||||||
dockerfile: docker/Dockerfile
|
path: docker
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
tag_with_sha: true
|
tag_with_sha: true
|
||||||
add_git_labels: true
|
add_git_labels: true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
COPY lbrynet /bin
|
COPY lbrynet /bin
|
||||||
RUN chmod +x /bin/lbrynet
|
RUN lbrynet --version
|
||||||
ENTRYPOINT ["lbrynet"]
|
ENTRYPOINT ["lbrynet"]
|
||||||
CMD ["start", "--full-node"]
|
CMD ["start", "--full-node"]
|
||||||
|
|
Loading…
Reference in a new issue