Skip to content

Commit 6d33965

Browse files
committed
gnostr-command:v0.0.4
add hypercore-protocol deleted: .github/workflows/ci.yml new file: .github/workflows/ghcr.io.yml modified: .gitignore new file: Cargo.lock modified: Cargo.toml new file: Dockerfile modified: GNUmakefile modified: benches/pipe.rs modified: benches/throughput.rs modified: cargo.mk modified: docker.mk modified: examples/replication.rs new file: gnostr-command-docker new file: serve modified: src/lib.rs modified: tests/_util.rs modified: tests/basic.rs modified: tests/js_interop.rs
1 parent 9e6c558 commit 6d33965

File tree

18 files changed

+4113
-131
lines changed

18 files changed

+4113
-131
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.github/workflows/ghcr.io.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: publish to ghcr.io
2+
##REF:https://github.com/docker/login-action
3+
4+
env:
5+
GNOSTR_COMMAND: 'gnostr-command'
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
- main
12+
- v**
13+
tags:
14+
- v0.**
15+
- v1.**
16+
- v2.**
17+
- v3.**
18+
- v4.**
19+
#branches-ignore:
20+
# - 'releases/**-alpha'
21+
#tags-ignore:
22+
# - v999.**
23+
workflow_dispatch:
24+
25+
jobs:
26+
push-store-image:
27+
runs-on: ubuntu-latest
28+
defaults:
29+
run:
30+
working-directory: '.'
31+
steps:
32+
- name: 'Checkout GitHub Action'
33+
uses: actions/checkout@main
34+
35+
- name: 'Login to GitHub Container Registry'
36+
uses: docker/login-action@v1
37+
with:
38+
registry: ghcr.io
39+
username: ${{github.actor}}
40+
password: ${{secrets.GITHUB_TOKEN}}
41+
42+
- name: 'Build gnostr-command image'
43+
run: |
44+
docker build . --tag ghcr.io/gnostr-org/gnostr-command:latest
45+
docker push ghcr.io/gnostr-org/gnostr-command:latest

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ Cargo.lock
2121
# MSVC Windows builds of rustc generate these, which store debugging information
2222
*.pdb
2323
target
24+
25+
**.DS_Store

0 commit comments

Comments
 (0)