mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 21:46:00 -03:30
Bump migrations and delete some files Resolve remaining conflicts Fix requirements Flake8 fixes Prefer devel changes for schema Use correct versions Remove sso connected stuff Update to modern actions and collection fixes Remove unwated alias Version problems in actions Fix more versioning problems Update warning string Messed it up again Shorten exception More removals Remove pbr license Remove tests deleted in devel Remove unexpected files Remove some content missed in the rebase Use sleep_task from devel Restore devel live conftest file Add in settings that got missed Prefer devel version of collection test Finish repairing .github path Remove unintended test file duplication Undo more unintended file additions
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
name: Setup images for AWX
|
|
description: Builds new awx_devel image
|
|
inputs:
|
|
github-token:
|
|
description: GitHub Token for registry access
|
|
required: true
|
|
private-github-key:
|
|
description: GitHub private key for private repositories
|
|
required: false
|
|
default: ''
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: ./.github/actions/setup-python
|
|
|
|
- name: Set lower case owner name
|
|
shell: bash
|
|
run: echo "OWNER_LC=${OWNER,,}" >> $GITHUB_ENV
|
|
env:
|
|
OWNER: '${{ github.repository_owner }}'
|
|
|
|
- name: Log in to registry
|
|
shell: bash
|
|
run: |
|
|
echo "${{ inputs.github-token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
|
|
|
- uses: ./.github/actions/setup-ssh-agent
|
|
with:
|
|
ssh-private-key: ${{ inputs.private-github-key }}
|
|
|
|
- name: Pre-pull latest devel image to warm cache
|
|
shell: bash
|
|
run: |
|
|
DEV_DOCKER_TAG_BASE=ghcr.io/${OWNER_LC} \
|
|
COMPOSE_TAG=${{ github.base_ref || github.ref_name }} \
|
|
docker pull -q `make print-DEVEL_IMAGE_NAME`
|
|
continue-on-error: true
|
|
|
|
- name: Build image for current source checkout
|
|
shell: bash
|
|
run: |
|
|
DEV_DOCKER_TAG_BASE=ghcr.io/${OWNER_LC} \
|
|
COMPOSE_TAG=${{ github.base_ref || github.ref_name }} \
|
|
make docker-compose-build
|