ci/cd - fix negative conditions

This commit is contained in:
bunkerity 2023-03-03 11:18:43 +01:00
parent 10f9658f56
commit ee0e608de7
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,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)
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)
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/scheduler-tests:latest
if: contains(fromJSON('["autoconf", "swarm"]'), inputs.TYPE)