diff --git a/.github/workflows/publish-from-branch.yml b/.github/workflows/publish-from-branch.yml new file mode 100644 index 0000000000..d67cdc421e --- /dev/null +++ b/.github/workflows/publish-from-branch.yml @@ -0,0 +1,25 @@ +name: Publish from branch + +on: + workflow_dispatch: + +jobs: + publish-from-branch: + name: Publish from branch + runs-on: ubuntu-latest + steps: + - name: Build and publish all images to Dockerhub + run: | + echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin + make docker-publish + + send-chat-notification: + name: Send google chat notification + needs: [publish-from-branch] + runs-on: ubuntu-latest + steps: + - name: Send notification to google chat room "DSP releases" + uses: lakto/google-chat-action@main + with: + url: ${{ secrets.GOOGLE_CHAT_DSP_RELEASES_WEBHOOK_URL }} + diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d474404ca1..ca17b36cb6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -3,7 +3,6 @@ name: Publish on: release: types: [published] - workflow_dispatch: jobs: create-client-test-data: