Add sites to the alarms #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build SAND-CI Alarm and Alert image | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Docker Build & Push Action | |
uses: mr-smithers-excellent/[email protected] | |
with: | |
image: sandci/alarms_and_alerts | |
tags: latest, ${{ github.sha }} | |
registry: docker.io | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Repository Dispatch | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.AAAS_GITOPS_DEPLOY_TRIGGER }} | |
repository: maniaclab/flux_apps | |
event-type: gitops-sand-app-trigger | |
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |