Compare commits

...
1 Commits
Author SHA1 Message Date
vasyansk 54b7727a50 Update docker-build.yml
docker-build / Build image (push) Failing after 7s
2026-09-01 11:09:48 +07:00
+8 -4
View File
@@ -5,6 +5,10 @@ on:
tags:
- "*"
env:
REGISTRY: git.realmanual.ru
IMAGE_PREFIX: ${{ gitea.repository }}
permissions:
contents: read
packages: write
@@ -21,12 +25,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
- name: Log in to Gitea Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.PUSH_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Build and push Docker image
id: push
@@ -35,5 +39,5 @@ jobs:
context: .
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.ref_name }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.tag_name }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest