summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>2024-09-13 20:18:19 +0200
committerGitHub <noreply@github.com>2024-09-13 20:18:19 +0200
commita9b0d9f2e522b02e8b16486e61ecdaeb9542f1d0 (patch)
treebf9dfa3bd017eaf5d84ba39ce465d077fae12ad2
parentReplace `pkg_resources` with `importlib.metadata` (#15441) (diff)
downloadawx-a9b0d9f2e522b02e8b16486e61ecdaeb9542f1d0.tar.xz
awx-a9b0d9f2e522b02e8b16486e61ecdaeb9542f1d0.zip
🧪🚑 Fix fetching the CI image on merges (#15509)
-rw-r--r--.github/actions/awx_devel_image/action.yml4
1 files changed, 2 insertions, 2 deletions
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