From 8e846870b4aa1712ca03cf9ccac7eb464e1698fb Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 5 May 2024 20:32:40 -0400 Subject: [PATCH] changed build file to accept containerfiles --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a77b70a..571cb73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - name: Get Dockerfile image name id: get_image_name run: | - IMAGE_NAME=$(grep -Po '(?<=name=")[^"]*' Dockerfile) + IMAGE_NAME=$(grep -Po '(?<=name=")[^"]*' Containerfile) echo "::set-output name=image_name::$IMAGE_NAME" - name: Login to container registry @@ -26,7 +26,7 @@ jobs: - name: Check for Dockerfile changes id: dockerfile_changed run: | - if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^Dockerfile$'; then + if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^Containerfile$'; then echo "::set-output name=changed::true" else echo "::set-output name=changed::false"