diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 762977e..30e5578 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -4,6 +4,9 @@ on: release: types: [published] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: docker: runs-on: ubuntu-latest @@ -23,10 +26,12 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: push: true - tags: labsyspharm/quantification:${{ github.event.release.tag_name }} + build-args: | + BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 + tags: labsyspharm/quantification:${{ github.event.release.tag_name || github.ref_name }} - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}