From d1f6dc174172d6a0c920b8df1cba38f833af3941 Mon Sep 17 00:00:00 2001 From: Haytham Abuelfutuh Date: Mon, 22 Feb 2021 16:21:47 -0800 Subject: [PATCH] Fix push image condition (#767) Signed-off-by: Haytham Abuelfutuh --- .github/workflows/sandbox.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sandbox.yml b/.github/workflows/sandbox.yml index 43e06851f3..4fb2db51ff 100644 --- a/.github/workflows/sandbox.yml +++ b/.github/workflows/sandbox.yml @@ -25,7 +25,7 @@ jobs: build_extra_args: "--target=default --compress=true" context: ./ dockerfile: docker/sandbox/Dockerfile - push_image_and_stages: ${{ github.event.name == 'release' }} + push_image_and_stages: ${{ github.event_name == 'release' }} push-sandbox-dind-image: name: Push sandbox DinD image to GHCR runs-on: ubuntu-latest @@ -44,4 +44,4 @@ jobs: build_extra_args: "--target=dind --compress=true" context: ./ dockerfile: docker/sandbox/Dockerfile - push_image_and_stages: ${{ github.event.name == 'release' }} + push_image_and_stages: ${{ github.event_name == 'release' }}