Replace Gitea credentials with GitHub secrets
Some checks failed
Build and Deploy / build (push) Successful in 42s
Build and Deploy / Deploy to target (push) Failing after 5s

Updated GitHub Actions workflow to use secrets for credentials.
This commit is contained in:
Lorenzo Venerandi
2026-03-20 14:45:17 +01:00
committed by GitHub
parent b0ea4e137c
commit d8d17f76c2

View File

@@ -8,8 +8,6 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
packages: write
outputs: outputs:
image-tags: ${{ steps.meta.outputs.tags }} image-tags: ${{ steps.meta.outputs.tags }}
steps: steps:
@@ -22,8 +20,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ vars.PACKAGES_REGISTRY }} registry: ${{ vars.PACKAGES_REGISTRY }}
username: ${{ gitea.actor }} username: ${{ secrets.USERNAME }
password: ${{ gitea.token }} password: ${{ secrets.TOKEN }}
- name: Extract metadata - name: Extract metadata
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5