-
Notifications
You must be signed in to change notification settings - Fork 42
44 lines (38 loc) · 1.11 KB
/
build-ee-image.yml
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
name: build-ee-image
on:
workflow_dispatch:
inputs:
tag:
description: 'Set image tag'
required: true
default: 'test'
jobs:
ee-image:
runs-on: ubuntu-latest
steps:
- name: Install QEMU static binaries
uses: docker/[email protected]
- name: Configure Buildkit
uses: docker/[email protected]
- name: Checkout project
uses: actions/checkout@v4
- name: Authenticate with Quay.io
uses: docker/[email protected]
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- name: Build image
uses: docker/[email protected]
with:
context: docker
file: docker/Dockerfile.awx-ee
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
platforms: |
linux/amd64
linux/arm64
tags: |
quay.io/tadas/awx-without-k8s-ee:latest
quay.io/tadas/awx-without-k8s-ee:${{ github.event.inputs.tag }}