From a9b0d9f2e522b02e8b16486e61ecdaeb9542f1d0 Mon Sep 17 00:00:00 2001 From: "Sviatoslav Sydorenko (Святослав Сидоренко)" Date: Fri, 13 Sep 2024 20:18:19 +0200 Subject: 🧪🚑 Fix fetching the CI image on merges (#15509) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/awx_devel_image/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/actions/awx_devel_image/action.yml b/.github/actions/awx_devel_image/action.yml index 79af30dae1..4ad99f71de 100644 --- a/.github/actions/awx_devel_image/action.yml +++ b/.github/actions/awx_devel_image/action.yml @@ -24,11 +24,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: docker pull -q ghcr.io/${OWNER_LC}/awx_devel:${{ github.base_ref || github.ref_name }} - name: Build image for current source checkout shell: bash run: | DEV_DOCKER_TAG_BASE=ghcr.io/${OWNER_LC} \ - COMPOSE_TAG=${{ github.base_ref }} \ + COMPOSE_TAG=${{ github.base_ref || github.ref_name }} \ make docker-compose-build -- cgit v1.2.3