From c10e77c935ab8c7dd9273636656a3c4026687d9c Mon Sep 17 00:00:00 2001 From: Dennis Schiese Date: Tue, 18 Jun 2024 14:34:27 +0200 Subject: [PATCH] Adjust action --- .github/workflows/docker-image.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d4b4fce..10d94c6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -10,14 +10,13 @@ jobs: MONGO_USER: ${{ secrets.USER_MONGO }} MONGO_PASSWORD: ${{ secrets.PASSWORD_MONGO }} MONGO_AUTHSOURCE: ${{ secrets.AUTHSOURCE_MONGO }} + GITHUB_WORKSPACE: ${{github.workspace}} steps: - uses: actions/checkout@v4 - name: Save tag to file if release if: startsWith(github.ref, 'refs/tags/') run: echo ${{ github.ref_name }} > VERSION.txt - - name: Echo - run: ls ${{ github.workspace }} - name: Build the Docker image for temporary use only if: ${{ ! startsWith(github.ref, 'refs/tags/') }} run: docker build . --file Dockerfile --tag tmp:latest