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: tags:
- "*" - "*"
env:
REGISTRY: git.realmanual.ru
IMAGE_PREFIX: ${{ gitea.repository }}
permissions: permissions:
contents: read contents: read
packages: write packages: write
@@ -21,12 +25,12 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Log in to the Container registry - name: Log in to Gitea Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }} username: ${{ github.actor }}
password: ${{ secrets.PUSH_TOKEN }} password: ${{ secrets.TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image
id: push id: push
@@ -35,5 +39,5 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.ref_name }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.tag_name }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest