mirror of
https://github.com/AlessandroAcuna/Home.git
synced 2026-03-21 23:49:59 +00:00
Replace Gitea credentials with GitHub secrets
Updated GitHub Actions workflow to use secrets for credentials.
This commit is contained in:
committed by
GitHub
parent
b0ea4e137c
commit
d8d17f76c2
@@ -8,8 +8,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
outputs:
|
||||
image-tags: ${{ steps.meta.outputs.tags }}
|
||||
steps:
|
||||
@@ -22,8 +20,8 @@ jobs:
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ vars.PACKAGES_REGISTRY }}
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ gitea.token }}
|
||||
username: ${{ secrets.USERNAME }
|
||||
password: ${{ secrets.TOKEN }}
|
||||
- name: Extract metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
|
||||
Reference in New Issue
Block a user