diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml new file mode 100644 index 000000000..02701aaec --- /dev/null +++ b/.github/workflows/build-push.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 4946c53fd..709ecfdbd 100644 --- a/README.md +++ b/README.md @@ -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: