-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1.03 KB
/
dev.yaml
File metadata and controls
37 lines (32 loc) · 1.03 KB
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/checkout@v5
- 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/docker-build-push@v6.8
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/repository-dispatch@v4
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 }}"}'