fixing build
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m15s

This commit is contained in:
Tudor Sitaru
2026-01-06 14:01:50 +00:00
parent f8cc69cff2
commit b29116d919

View File

@@ -8,6 +8,10 @@ on:
branches: branches:
- main - main
env:
REGISTRY: privaterepo.sitaru.org
IMAGE_NAME: ${{ gitea.repository }}
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -21,7 +25,7 @@ jobs:
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ gitea.server_url }} registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
@@ -29,7 +33,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ${{ gitea.server_url }}/${{ gitea.repository }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
type=ref,event=branch type=ref,event=branch
type=ref,event=pr type=ref,event=pr