extra mail #89
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 ATLAS Alarm and Alert Frontend image | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- "*" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Extract tag name | |
shell: bash | |
run: echo "##[set-output name=imagetag;]$(echo ${GITHUB_REF##*/})" | |
id: extract_tag_name | |
- name: Docker Build & Push Action | |
uses: mr-smithers-excellent/[email protected] | |
with: | |
image: ivukotic/aaasf | |
tags: ${{ steps.extract_tag_name.outputs.imagetag }} | |
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/river_apps | |
event-type: gitops-aaasf-app-trigger-dev | |
client-payload: '{"ref": "${{ steps.extract_tag_name.outputs.imagetag }}"}' |