From b28668d68a086fed665348aff0c5d5132589f592 Mon Sep 17 00:00:00 2001 From: bunkerity Date: Tue, 7 Mar 2023 11:42:36 +0100 Subject: [PATCH] ci/cd - revert back to old condition for pulling images --- .github/workflows/staging-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/staging-tests.yml b/.github/workflows/staging-tests.yml index da5655dcd..9c06108d6 100644 --- a/.github/workflows/staging-tests.yml +++ b/.github/workflows/staging-tests.yml @@ -34,10 +34,10 @@ jobs: password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }} - name: Pull BW image run: docker pull ${{ secrets.PRIVATE_REGISTRY }}/infra/bunkerweb-tests:staging && docker tag ${{ secrets.PRIVATE_REGISTRY }}/infra/bunkerweb-tests:staging local/bunkerweb-tests:latest - if: ! contains(fromJSON('["linux", "k8s"]'), inputs.TYPE) != true + if: contains(fromJSON('["linux", "k8s"]'), inputs.TYPE) != true - name: Pull Scheduler image run: docker pull ${{ secrets.PRIVATE_REGISTRY }}/infra/scheduler-tests:staging && docker tag ${{ secrets.PRIVATE_REGISTRY }}/infra/scheduler-tests:staging local/scheduler-tests:latest - if: ! contains(fromJSON('["linux", "k8s"]'), inputs.TYPE) != true + if: contains(fromJSON('["linux", "k8s"]'), inputs.TYPE) != true - name: Pull Autoconf image run: docker pull ${{ secrets.PRIVATE_REGISTRY }}/infra/autoconf-tests:staging && docker tag ${{ secrets.PRIVATE_REGISTRY }}/infra/autoconf-tests:staging local/autoconf-tests:latest if: contains(fromJSON('["autoconf", "swarm"]'), inputs.TYPE)