diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2329430b..71b206d98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,4 +21,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build production deployment - run: podman build --build-arg GIT_BRANCH=${GITHUB_REF##*/} --file deploy/Dockerfile . + run: env GIT_BRANCH=$(git rev-parse HEAD) podman build --build-arg GIT_BRANCH --file deploy/Dockerfile .