ci: fix docker username
All checks were successful
Checks / check (push) Successful in -6m20s
Build and Push Docker Image / Build and Push Image (push) Successful in -6m50s

This commit is contained in:
Vladimir Rubin 2024-12-07 16:10:07 +02:00
parent 440ca7563f
commit 2803a26870
Signed by: vavakado
GPG key ID: CAB744727F36B524
2 changed files with 8 additions and 8 deletions

View file

@ -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: |

View file

@ -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: |