diff --git a/.github/workflows/push-docker-images.yml b/.github/workflows/push-docker-images.yml index e330f82f..84145ba7 100644 --- a/.github/workflows/push-docker-images.yml +++ b/.github/workflows/push-docker-images.yml @@ -4,7 +4,6 @@ on: push: branches: - master - tags: - open-release/** jobs: push: @@ -38,12 +37,12 @@ jobs: repository: edxops/registrar-dev tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} - # - name: Build and push prod Docker image - # uses: docker/build-push-action@v1 - # with: - # push: true - # username: ${{ secrets.DOCKERHUB_USERNAME }} - # password: ${{ secrets.DOCKERHUB_PASSWORD }} - # target: prod - # repository: edxops/registrar - # tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} \ No newline at end of file + - name: Build and push prod Docker image + uses: docker/build-push-action@v1 + with: + push: true + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + target: prod + repository: edxops/registrar + tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} \ No newline at end of file