From c480be45bfa952e273eedf9833b23cf0292a5e52 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Fri, 30 Apr 2021 16:59:15 +0530 Subject: [PATCH] Enable pushing RTS images to DockerHub --- .github/workflows/build-rts.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-rts.yml b/.github/workflows/build-rts.yml index a273c50c63..6ee9672092 100644 --- a/.github/workflows/build-rts.yml +++ b/.github/workflows/build-rts.yml @@ -66,7 +66,7 @@ jobs: run: | docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}} . echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin - #docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}} + docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}} # Build master Docker image and push to Docker Hub - name: Push master image to Docker Hub with commit tag @@ -75,8 +75,8 @@ jobs: docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${GITHUB_SHA} . docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:nightly . echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin - #docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${GITHUB_SHA} - #docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:nightly + docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${GITHUB_SHA} + docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:nightly # These are dummy jobs in the CI build to satisfy required status checks for merging PRs. This is a hack because Github doesn't support conditional # required checks in monorepos. These jobs are a clone of similarly named jobs in client.yml.