Skip to content

Commit f16549b

Browse files
authored
docker: autopublish (textileio#373)
* enable docker publishing Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * set Dockerfile path Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * mention docker image in readme Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * enable only on master commits Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent e64a352 commit f16549b

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docker Image
2+
on:
3+
create:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
docker:
9+
name: Docker publishing
10+
runs-on: self-hosted
11+
steps:
12+
- name: Publish
13+
uses: docker/build-push-action@v1
14+
with:
15+
username: ${{ secrets.DOCKER_USERNAME }}
16+
password: ${{ secrets.DOCKER_PASSWORD }}
17+
dockerfile: exe/server/Dockerfile
18+
repository: textile/powergate
19+
tag_with_ref: true
20+
tag_with_sha: true

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ The server connects to _Lotus_ and enables multiple modules, such as:
6262
- FFS:
6363
- A powerful level of abstraction to pin Cids in Hot and Cold storages, more details soon!
6464

65-
6665
### Run in _Embedded mode_
6766

6867
The server can run in _Embedded_ mode which auto-creates a fake devnet with a single miner and connects to it.
@@ -131,6 +130,11 @@ If you don't have a fully-synced _Lotus_ node and don't want to wait, consider u
131130
## Test
132131
For running tests: `make test`
133132

133+
134+
## Docker
135+
136+
A `powd` Docker image is available at [textile/powergate](https://hub.docker.com/r/textile/powergate) on DockerHub.
137+
134138
## Contributing
135139

136140
This project is a work in progress. As such, there's a few things you can do right now to help out:

0 commit comments

Comments
 (0)