From 2803a26870b1633284738a47a10303a420e4adf1 Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Sat, 7 Dec 2024 16:10:07 +0200 Subject: [PATCH] ci: fix docker username --- .forgejo/workflows/docker.yaml | 10 +++++----- .forgejo/workflows/release.yaml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/docker.yaml b/.forgejo/workflows/docker.yaml index 0dfe240..5698cef 100644 --- a/.forgejo/workflows/docker.yaml +++ b/.forgejo/workflows/docker.yaml @@ -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: | diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index df0041a..e4c3fc6 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -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: |