mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
[CI][release_4.6] backport push development image base on repo name (#6837)
* Publish image base on git repo name instead of hard coded to AWX (#15828) * Fix git credential for devel_image build (#15834) * Continue if pre-warm cache fail in container build (#15835) * Use correct devel image for docker-compose (#15836)
This commit is contained in:
6
.github/actions/awx_devel_image/action.yml
vendored
6
.github/actions/awx_devel_image/action.yml
vendored
@@ -33,7 +33,11 @@ runs:
|
||||
|
||||
- name: Pre-pull latest devel image to warm cache
|
||||
shell: bash
|
||||
run: docker pull -q ghcr.io/${OWNER_LC}/awx_devel:${{ github.base_ref }}
|
||||
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
|
||||
|
||||
2
.github/workflows/devel_images.yml
vendored
2
.github/workflows/devel_images.yml
vendored
@@ -88,7 +88,7 @@ jobs:
|
||||
|
||||
- name: Add private GitHub token to requirements_git.credentials.txt
|
||||
shell: bash
|
||||
run: echo "https://x-access-token:${{ secrets.PRIVATE_GITHUB_TOKEN }}@github.com"" >> requirements/requirements_git.credentials.txt
|
||||
run: echo "https://x-access-token:${{ secrets.PRIVATE_GITHUB_TOKEN }}@github.com" >> requirements/requirements_git.credentials.txt
|
||||
if: ${{ env.CI_PRIVATE_GITHUB_TOKEN != '' }}
|
||||
|
||||
- name: Build and push AWX devel images
|
||||
|
||||
Reference in New Issue
Block a user