Skip to content

Build ansible ee image #376

Build ansible ee image

Build ansible ee image #376

Workflow file for this run

---
name: Build ansible ee image
on:
push:
branches:
- main
schedule:
- cron: "42 3 * * 4"
jobs:
build:
name: Build image
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install ci requirements
run: pip install -r requirements-ci.txt
- name: Build image
run: ansible-builder build -v 3 -t ansible-ee:latest
- name: Push ansible ee to ghcr
uses: redhat-actions/push-to-registry@v2
with:
image: ansible-ee
tags: latest
registry: ghcr.io/${{ github.repository_owner }}/
username: ${{ github.actor }}
password: ${{ github.token }}