From a0554c49b7b23027b558e6ce72f7817721fb2038 Mon Sep 17 00:00:00 2001 From: Ryan Dale Date: Tue, 20 Feb 2024 18:18:51 -0500 Subject: [PATCH] use jobs not steps --- .github/workflows/build-images.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 54af8148f0..7daf2f80ae 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -273,7 +273,7 @@ jobs: # If ghcr.io, then also pull the image with podman so it will be # available to upload to quay.io in subsequent steps. We do this even # for base-debian, even if it's not used for the test. - if [ ${{ ! needs.base-debian.outputs.TAG_EXISTS_base-debian }} ]; then + if [ ${{ ! needs.build-base-debian.outputs.TAG_EXISTS_base-debian }} ]; then podman pull "ghcr.io/bioconda/${BASE_DEBIAN_IMAGE_NAME}:${BASE_TAG}" podman pull "ghcr.io/bioconda/${BASE_DEBIAN_IMAGE_NAME}:latest" fi @@ -340,7 +340,7 @@ jobs: - name: Push base-debian id: push-base-debian uses: redhat-actions/push-to-registry@v2 - if: ${{ ! steps.base-debian.outputs.TAG_EXISTS_base-debian }} + if: ${{ ! needs.base-debian.outputs.TAG_EXISTS_base-debian }} with: image: ${{ env.BASE_DEBIAN_IMAGE_NAME }} tags: latest ${{ env.BASE_TAG }} @@ -351,7 +351,7 @@ jobs: - name: Push base-busybox id: push-base-busybox uses: redhat-actions/push-to-registry@v2 - if: ${{ ! steps.base-busybox.outputs.TAG_EXISTS_base-busybox }} + if: ${{ ! needs.build-others.outputs.TAG_EXISTS_base-busybox }} with: image: ${{ env.BASE_BUSYBOX_IMAGE_NAME }} tags: latest ${{ env.BASE_TAG }} @@ -362,7 +362,7 @@ jobs: - name: Push build-env id: push-build-env uses: redhat-actions/push-to-registry@v2 - if: ${{ ! steps.build-env.outputs.TAG_EXISTS_build-env }} + if: ${{ ! needs.build-others.outputs.TAG_EXISTS_build-env }} with: image: ${{ env.BUILD_ENV_IMAGE_NAME }} tags: latest ${{ needs.build-others.outputs.BIOCONDA_UTILS_TAG }}-base${{ env.BASE_TAG }} @@ -373,7 +373,7 @@ jobs: - name: Push create-env id: push-create-env uses: redhat-actions/push-to-registry@v2 - if: ${{ ! steps.create-env.outputs.TAG_EXISTS_create-env }} + if: ${{ ! needs.build-others.outputs.TAG_EXISTS_create-env }} with: image: ${{ env.CREATE_ENV_IMAGE_NAME }} tags: latest ${{ needs.build-others.outputs.BIOCONDA_UTILS_TAG }}-base${{ env.BASE_TAG }}