-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1.04 KB
/
dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/flux_apps
event-type: gitops-aaasf-app-trigger-dev
client-payload: '{"ref": "${{ steps.extract_tag_name.outputs.imagetag }}"}'