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: on:
push: push:
branches: branches:
- main # Change this to your default branch if different - main
jobs: jobs:
build: build:
name: Build and Push Image name: Build and Push Image
runs-on: ubuntu-latest-root # This specifies the environment for the job runs-on: ubuntu-latest-root
steps: steps:
- name: Checkout Repository - name: Checkout Repository
@ -17,9 +17,9 @@ jobs:
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.vavakado.xyz # Replace with your Docker registry URL registry: git.vavakado.xyz
username: ${{ forgejo.actor }} # The actor who triggered the action username: vavakado
password: ${{ secrets.REGISTRY_TOKEN }} # Your registry token secret password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build Docker Image - name: Build Docker Image
run: | run: |

View file

@ -20,9 +20,9 @@ jobs:
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.vavakado.xyz # Replace with your Docker registry URL registry: git.vavakado.xyz
username: ${{ forgejo.actor }} # The actor who triggered the action username: vavakado
password: ${{ secrets.REGISTRY_TOKEN }} # Your registry token secret password: ${{ secrets.REGISTRY_TOKEN }}
- name: Create Git Tag - name: Create Git Tag
run: | run: |