1
0
mirror of https://github.com/TsakiDev/gitea-comment.git synced 2024-11-23 02:02:09 +01: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

@ -18,6 +18,10 @@ jobs:
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
- name: Determine version - name: Determine version
run: echo "VERSION=$(git describe --tags --dirty)" >> $GITHUB_ENV 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 - name: Build the Docker image
run: | run: |
docker build . --file Dockerfile --tag tsakidev/giteacomment:${VERSION} docker build . --file Dockerfile --tag tsakidev/giteacomment:${VERSION}