diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 19abea5..ca92a80 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -6,11 +6,6 @@ on:
pull_request:
branches: [ master ]
-env:
- DOCKER_REGISTRY: docker.pkg.github.com
- DOCKER_PATH: salesforce/docker-phoenix-mini
- IMAGE_NAME: phoenix-mini
-
jobs:
build:
runs-on: ubuntu-latest
@@ -28,15 +23,11 @@ jobs:
java-version: 1.8
- name: Maven package
run: mvn --batch-mode package
- - name: Docker Login
- uses: azure/docker-login@v1
+ - name: Login to DockerHub
+ uses: docker/login-action@v1
with:
- login-server: ${{ env.DOCKER_REGISTRY }}
- username: $GITHUB_ACTOR
- password: ${{ secrets.GITHUB_TOKEN }}
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Docker Push
- if: github.ref == 'refs/heads/master'
run: |
- REMOTE_IMAGE_ID=$DOCKER_REGISTRY/$DOCKER_PATH/$IMAGE_NAME:latest
- docker tag phoenix-mini:latest $REMOTE_IMAGE_ID
- docker push $REMOTE_IMAGE_ID
\ No newline at end of file
+ docker push salesforce/phoenix-mini:latest
\ No newline at end of file
diff --git a/README.md b/README.md
index 68272aa..452b6bd 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,8 @@
A mini [Apache Phoenix](https://phoenix.apache.org/) cluster for local development and testing based on the official [HBaseTestingUtility](https://github.com/apache/hbase/blob/master/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java).
+> [docker pull salesforce/phoenix-mini](https://hub.docker.com/r/salesforce/phoenix-mini)
+
The key configurations to make the embedded server working in docker are
the following:
diff --git a/pom.xml b/pom.xml
index a192eea..ebbcead 100644
--- a/pom.xml
+++ b/pom.xml
@@ -121,7 +121,7 @@
- phoenix-mini
+ salesforce/phoenix-mini