-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (37 loc) · 1.17 KB
/
quay.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: publish-to-quay
on:
push:
branches-ignore:
- '*'
tags:
- 'v[0-9]*'
jobs:
build:
if: github.repository == 'redhat-cop/babylon-events-console'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Build and publish console ui image to Quay
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: redhat-cop/babylon-events-console
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
registry: quay.io
dockerfile: Dockerfile
workdir: ui
tags: ${{ steps.get_version.outputs.VERSION }},latest
- name: Build and publish console operator image to Quay
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: redhat-cop/babylon-events-console-operator
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
registry: quay.io
dockerfile: Dockerfile
workdir: operator
tags: ${{ steps.get_version.outputs.VERSION }},latest