From aad8e255c079174f73f93bb20cd69c367c2580ec Mon Sep 17 00:00:00 2001 From: "E. Lee" Date: Thu, 7 Dec 2023 19:18:08 -0500 Subject: [PATCH] build/deploy looks at tags and checks latest out --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7aa1b14a..a8648f104 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,9 @@ jobs: build: runs-on: ubuntu-latest - container: - image: registry.fedoraproject.org/fedora:32 steps: - - run: dnf install -y podman git - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Build production deployment - run: podman build --build-arg GIT_BRANCH=$(git rev-parse HEAD) --file deploy/Dockerfile . + run: podman build --build-arg GIT_BRANCH=${GITHUB_REF##*/} --file ./deploy/Dockerfile .