From 76804289fc3cf546d2fe113be96ca1b39df94e54 Mon Sep 17 00:00:00 2001 From: 4TT1L4 <2914096+4TT1L4@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:00:50 +0200 Subject: [PATCH] Broken revision information in the bot backend #28 --- .dockerignore | 1 + .github/workflows/build.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.dockerignore b/.dockerignore index df2035c5..0c82e155 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,3 +3,4 @@ secrets secrets/* dist-newstyle .* +!.git diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cac9ec6f..939f09e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,8 @@ jobs: packages: write contents: read steps: + - name: Checkout + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry @@ -53,6 +55,7 @@ jobs: - name: ${{ github.ref == 'refs/heads/main' && 'Build and Push Docker image' || 'Build Docker image' }} uses: docker/build-push-action@v5 with: + context: . push: ${{ github.ref == 'refs/heads/main'}} tags: ${{ steps.docker-metadata.outputs.tags }} labels: ${{ steps.docker-metadata.outputs.labels }}