From 316fec7251dbbd14482705cbbb1ded2113eac3d5 Mon Sep 17 00:00:00 2001 From: Alexey Vasiliev Date: Sat, 6 Jul 2024 11:11:11 +0300 Subject: [PATCH] build --- .github/workflows/build-and-release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 4372c4f..e9a6b75 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -1,10 +1,9 @@ name: "Build and Release" -on: push - -env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} +on: + push: + branches: + - main permissions: contents: read @@ -14,6 +13,8 @@ permissions: env: GO_VERSION: 1.22.1 + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} jobs: build: