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 .