From f9a79f161f0a20baa3ea0bc2d9b600a135b4610d Mon Sep 17 00:00:00 2001 From: 4TT1L4 <2914096+4TT1L4@users.noreply.github.com> Date: Mon, 22 Apr 2024 08:18:51 +0200 Subject: [PATCH] Broken revision information in the bot backend #28 --- .github/workflows/build.yml | 4 ++++ Dockerfile | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cac9ec6f..ca08c149 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,10 @@ jobs: packages: write contents: read steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Get tags + run: git fetch --tags origin - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry diff --git a/Dockerfile b/Dockerfile index 11508841..a1660649 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,12 +78,6 @@ WORKDIR /DEX COPY . . -# TODO: Fix revision information [Broken revision information in the bot backend #28] -RUN git init && \ - git config --global user.email "ci@github.com" && \ - git config --global user.name "CI" && \ - git add . && \ - git commit -m "Dummy commit" RUN cabal update RUN cabal build all --enable-tests --enable-benchmarks