From 3a0dad084189f94105492acb81f71e7828121228 Mon Sep 17 00:00:00 2001 From: Emily Yao Date: Thu, 24 Apr 2025 12:12:16 -0500 Subject: [PATCH] act env vars --- .github/workflows/build-container.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 141a61e..de51aed 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -64,6 +64,7 @@ jobs: uses: docker/setup-buildx-action@v2.7.0 - name: Log in to Docker Hub + if: ${{ !env.ACT }} # Only runs this task when not executing with act uses: docker/login-action@v2.2.0 with: username: ${{ secrets.DOCKER_USERNAME }} @@ -81,7 +82,7 @@ jobs: continue-on-error: ${{ matrix.repo == 'development' && (matrix.series == '24')}} with: context: . - push: true + push: ${{ !env.ACT }} # Only pushes when not running with act platforms: 'linux/amd64,linux/arm64' build-args: | IMAGE_BASE=${{ matrix.base.image }}