From e22612fc3e92594b82157e944d5abe22def5e24c Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Sat, 17 Jul 2021 11:59:09 -0400 Subject: [PATCH] Fix image push job --- .github/workflows/devel_image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/devel_image.yml b/.github/workflows/devel_image.yml index 44c16e33c3..b13bb4e92e 100644 --- a/.github/workflows/devel_image.yml +++ b/.github/workflows/devel_image.yml @@ -19,12 +19,12 @@ jobs: - name: Pre-pull image to warm build cache run: | - docker pull ghcr.io/${{ github.repository_owner }}/awx_devel:${{ github.base_ref }} + docker pull ghcr.io/${{ github.repository_owner }}/awx_devel:${GITHUB_REF##*/} - name: Build image run: | - DEV_DOCKER_TAG_BASE=ghcr.io/${{ github.repository_owner }} COMPOSE_TAG=${{ github.base_ref }} make docker-compose-build + DEV_DOCKER_TAG_BASE=ghcr.io/${{ github.repository_owner }} COMPOSE_TAG=${GITHUB_REF##*/} make docker-compose-build - name: Push image run: | - docker push ghcr.io/${{ github.repository_owner }}/awx_devel:${{ github.base_ref }} + docker push ghcr.io/${{ github.repository_owner }}/awx_devel:${GITHUB_REF##*/}