Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
This will be removed before merging, and is just for testing while
this PR is alive.
  • Loading branch information
graveland committed Apr 17, 2024
1 parent 15417a2 commit 35e7540
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/publish_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- master
- main
- brent/beta_arm64
paths-ignore:
- "*.md"

Expand Down Expand Up @@ -152,17 +153,17 @@ jobs:
DOCKER_TAG_POSTFIX: ${{ matrix.docker_tag_postfix }}
run: make get-image-config check

dispatch-ha-image-published-event:
name: Dispatch HA image published event
needs: [ "check" ]
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest

steps:
- name: Dispatch event to Publish cloud images workflow
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.ORG_AUTOMATION_TOKEN }}" \
--request POST \
--data '{"event_type": "ha_image_published"}' \
https://api.github.com/repos/timescale/timescaledb-docker-cloud/dispatches
# dispatch-ha-image-published-event:
# name: Dispatch HA image published event
# needs: [ "check" ]
# if: ${{ github.event_name == 'push' }}
# runs-on: ubuntu-latest
#
# steps:
# - name: Dispatch event to Publish cloud images workflow
# run: |
# curl -H "Accept: application/vnd.github.everest-preview+json" \
# -H "Authorization: token ${{ secrets.ORG_AUTOMATION_TOKEN }}" \
# --request POST \
# --data '{"event_type": "ha_image_published"}' \
# https://api.github.com/repos/timescale/timescaledb-docker-cloud/dispatches

0 comments on commit 35e7540

Please sign in to comment.