From 7bdc64f5a1c85cc71eedd354d4d629a4efed4490 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 31 Oct 2023 23:40:59 +0100 Subject: [PATCH] Always use expression inside env --- .github/workflows/docker-merge-tags.yml | 2 +- .github/workflows/docker-tag-push.yml | 2 +- .github/workflows/docker-wiki-update.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-merge-tags.yml b/.github/workflows/docker-merge-tags.yml index f8e3d99960..fb20c96799 100644 --- a/.github/workflows/docker-merge-tags.yml +++ b/.github/workflows/docker-merge-tags.yml @@ -2,7 +2,7 @@ name: Download images tags from GitHub artifacts and create multi-platform manif env: OWNER: ${{ github.repository_owner }} - PUSH_TO_REGISTRY: (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') + PUSH_TO_REGISTRY: ${{ (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') }} on: workflow_call: diff --git a/.github/workflows/docker-tag-push.yml b/.github/workflows/docker-tag-push.yml index b131144af7..aa54bf1d65 100644 --- a/.github/workflows/docker-tag-push.yml +++ b/.github/workflows/docker-tag-push.yml @@ -3,7 +3,7 @@ name: Download Docker image and its tags from GitHub artifacts, apply them and p env: REGISTRY: quay.io OWNER: ${{ github.repository_owner }} - PUSH_TO_REGISTRY: (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') + PUSH_TO_REGISTRY: ${{ (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') }} on: workflow_call: diff --git a/.github/workflows/docker-wiki-update.yml b/.github/workflows/docker-wiki-update.yml index 4098747bff..1b97d9b407 100644 --- a/.github/workflows/docker-wiki-update.yml +++ b/.github/workflows/docker-wiki-update.yml @@ -3,7 +3,7 @@ name: Download build manifests from GitHub artifacts and push them to GitHub wik # This way we make sure we don't access wiki pages from several jobs simultaneously env: - PUSH_TO_REGISTRY: (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') + PUSH_TO_REGISTRY: ${{ (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') }} on: workflow_call: