Correcting the Docker image repository path for CE server builds

This commit is contained in:
Arpit Mohan 2020-07-09 17:49:53 +05:30
parent bb59a555b1
commit e9d87084f4

View File

@ -68,15 +68,15 @@ jobs:
- name: Push release image to Docker Hub - name: Push release image to Docker Hub
if: success() && github.ref == 'refs/heads/release' if: success() && github.ref == 'refs/heads/release'
run: | run: |
docker build -t appsmith/appsmith-server-ee:${{steps.vars.outputs.tag}} . docker build -t appsmith/appsmith-server:${{steps.vars.outputs.tag}} .
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
docker push appsmith/appsmith-server-ee docker push appsmith/appsmith-server
# Build master Docker image and push to Docker Hub # Build master Docker image and push to Docker Hub
- name: Push master image to Docker Hub with commit tag - name: Push master image to Docker Hub with commit tag
if: success() && github.ref == 'refs/heads/master' if: success() && github.ref == 'refs/heads/master'
run: | run: |
docker build -t appsmith/appsmith-server-ee:${GITHUB_SHA} . docker build -t appsmith/appsmith-server:${GITHUB_SHA} .
docker build -t appsmith/appsmith-server-ee:latest . docker build -t appsmith/appsmith-server:latest .
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
docker push appsmith/appsmith-server-ee docker push appsmith/appsmith-server