ci: fix docker username
This commit is contained in:
parent
440ca7563f
commit
2803a26870
2 changed files with 8 additions and 8 deletions
|
@ -3,12 +3,12 @@ name: Build and Push Docker Image
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Change this to your default branch if different
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and Push Image
|
||||
runs-on: ubuntu-latest-root # This specifies the environment for the job
|
||||
runs-on: ubuntu-latest-root
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
@ -17,9 +17,9 @@ jobs:
|
|||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.vavakado.xyz # Replace with your Docker registry URL
|
||||
username: ${{ forgejo.actor }} # The actor who triggered the action
|
||||
password: ${{ secrets.REGISTRY_TOKEN }} # Your registry token secret
|
||||
registry: git.vavakado.xyz
|
||||
username: vavakado
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
|
|
|
@ -20,9 +20,9 @@ jobs:
|
|||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.vavakado.xyz # Replace with your Docker registry URL
|
||||
username: ${{ forgejo.actor }} # The actor who triggered the action
|
||||
password: ${{ secrets.REGISTRY_TOKEN }} # Your registry token secret
|
||||
registry: git.vavakado.xyz
|
||||
username: vavakado
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Create Git Tag
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue