-
Notifications
You must be signed in to change notification settings - Fork 34
45 lines (38 loc) · 1.08 KB
/
build-operator-image.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
38
39
40
41
42
43
44
45
---
name: Build Operator Image
on:
push:
branches: [devel]
jobs:
operator-image-build:
runs-on: ubuntu-latest
name: Push Operator Image
steps:
- uses: actions/checkout@v2
- name: Build Image
run: |
IMG=awx-resource-operator:devel make docker-build
- name: Push To Quay
uses: redhat-actions/[email protected]
with:
image: awx-resource-operator
tags: devel
registry: quay.io/ansible/
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_TOKEN }}
runner-image-build:
runs-on: ubuntu-latest
name: Push Runner Image
steps:
- uses: actions/checkout@v2
- name: Build Image
run: |
docker build -t awx-resource-runner:devel -f Dockerfile.runner .
- name: Push To Quay
uses: redhat-actions/[email protected]
with:
image: awx-resource-runner
tags: devel
registry: quay.io/ansible/
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_TOKEN }}