add ver
docker-build / Build image (push) Successful in 24s

This commit is contained in:
2026-09-01 11:14:23 +07:00
parent 58a61eabe8
commit 98d5cdc143
2 changed files with 6 additions and 4 deletions
+5 -4
View File
@@ -2,8 +2,7 @@ name: docker-build
on: on:
push: push:
tags: branches: [main, master]
- "*"
env: env:
REGISTRY: git.realmanual.ru REGISTRY: git.realmanual.ru
@@ -24,7 +23,9 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Read Version
id: version
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Log in to Gitea Registry - name: Log in to Gitea Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -39,5 +40,5 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.tag_name }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
+1
View File
@@ -0,0 +1 @@
1.1.0