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:
parent
17b3f4fd6b
commit
66a59e4cb9
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user