From 8d1013c29a0b08468548b4da71b537916c804119 Mon Sep 17 00:00:00 2001 From: remsky Date: Fri, 7 Feb 2025 15:34:29 -0700 Subject: [PATCH] Update build-push.yml --- .github/workflows/build-push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index fe90d13..d2c606b 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -1,4 +1,4 @@ -name: Docker Build and Publish +name: Docker Build and push on: push: @@ -45,7 +45,7 @@ jobs: env: DOCKER_BUILDKIT: 1 BUILDKIT_STEP_LOG_MAX_SIZE: 10485760 - # The version from the prepare-release job will override the VERSION variable + # This environment variable will override the VERSION variable in your HCL file. VERSION: ${{ needs.prepare-release.outputs.version }} steps: - name: Checkout repository @@ -83,5 +83,5 @@ jobs: - name: Build and push images run: | - # Override the VERSION variable in your bake file with the provided version. - docker buildx bake --push --set VERSION=$VERSION \ No newline at end of file + # No need to override VERSION via --set; the env var does the job. + docker buildx bake --push \ No newline at end of file