1
0
mirror of https://github.com/TsakiDev/gitea-comment.git synced 2024-08-31 06:25:01 +02:00

Update docker-image.yml

This commit is contained in:
Tsakiridis Ilias 2022-06-28 23:35:10 +03:00 committed by GitHub
parent 17b3f4fd6b
commit 66a59e4cb9
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}