Fix image push job

This commit is contained in:
Shane McDonald 2021-07-17 11:59:09 -04:00
parent baca30ef83
commit e22612fc3e
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -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##*/}