Correcting the Docker images for the appsmith editor and server for EE versions

This commit is contained in:
Arpit Mohan 2020-07-09 21:38:14 +05:30
parent ccc2136edb
commit 5e6f5dd7d3
2 changed files with 10 additions and 10 deletions

View File

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

View File

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