Skip to content

Commit

Permalink
Update on-demand-build-docker-image-deploy-preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pratapaprasanna committed Aug 3, 2023
1 parent 7ecc0f2 commit 09fa5a1
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/on-demand-build-docker-image-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,21 +167,13 @@ jobs:
- name: Generate info.json
run: scripts/generate_info_json.sh

- name: Login to DockerHub
uses: docker/login-action@v1
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Push to Docker Hub
uses: docker/build-push-action@v4
with:
context: .
pull: true
push: true
cache-from: ${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-ci:release
tags: |
${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-dp:ci-${{ github.event.client_payload.pull_request.number }}
repository: ${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-dp
tags: ci-${{ github.event.client_payload.pull_request.number }}
build-args: |
APPSMITH_CLOUD_SERVICES_BASE_URL=https://release-cs.appsmith.com
Expand Down

0 comments on commit 09fa5a1

Please sign in to comment.