From c5b87506dcda26d538c050241e74d8a291b28444 Mon Sep 17 00:00:00 2001 From: nahuel11500 <134035119+nahuel11500@users.noreply.github.com> Date: Tue, 23 Sep 2025 17:56:20 +0200 Subject: [PATCH] fix(ci): fixing automatic build process --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docker.yml | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 465fbac..cb15950 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main ] pull_request: - branches: [ main ] + workflow_call: + env: GO_VERSION: '1.25' diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8108095..f308b86 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,8 +4,6 @@ on: push: branches: [ main ] tags: [ 'v*' ] - pull_request: - branches: [ main ] env: REGISTRY: ghcr.io @@ -18,7 +16,7 @@ jobs: build-and-push: needs: ci runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && github.event_name == 'push' permissions: contents: read packages: write