diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b3f79c9..5ce4733 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -18,6 +18,10 @@ jobs: run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin - name: Determine version run: echo "VERSION=$(git describe --tags --dirty)" >> $GITHUB_ENV + - name: Build the Docker image + run: | + wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh + ./dotnet-install.sh --channel 3.1 - name: Build the Docker image run: | docker build . --file Dockerfile --tag tsakidev/giteacomment:${VERSION}