Skip to content

Commit

Permalink
Merge pull request #89 from resilientdb/gopuman-docker
Browse files Browse the repository at this point in the history
Added build-push workflow
  • Loading branch information
gopuman authored Oct 15, 2023
2 parents bb0d9e8 + 32f453b commit a5225f4
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ci

on:
push:
branches:
- 'master'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push Dockerfile
uses: docker/build-push-action@v5
with:
file: ./Docker/Dockerfile
context: .
push: true
tags: expolab/resdb:amd64

-
name: Build and push Dockerfile mac
uses: docker/build-push-action@v5
with:
file: ./Docker/Dockerfile_mac
context: .
push: true
tags: expolab/resdb:arm64
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ We also provide access to a [deployment script](https://github.com/resilientdb/r
- Set a test value:
```shell
bazel-bin/service/tools/kv/api_tools/kv_service_tools service/tools/config/interface/service.config set test
bazel-bin/service/tools/kv/api_tools/kv_service_tools service/tools/config/interface/service.config set test test_value
```
- Retrieve the test value:
Expand Down

0 comments on commit a5225f4

Please sign in to comment.