From 71d3a7c7a823f6702147cd427f37686e0a6a7162 Mon Sep 17 00:00:00 2001 From: Ryan D McGuire Date: Sun, 5 Jan 2025 11:22:42 -0500 Subject: [PATCH] Add CI --- .gitea/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 44769cf..68dfbc9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,7 +9,7 @@ env: BINARY_NAME: ambient-local-exporter GO_MOD_PATH: gitea.libretechconsulting.com/rmcguire/ambient-local-exporter GO_GIT_HOST: gitea.libretechconsulting.com - VER_PKG: gitea.libretechconsulting.com/rmcguire/go-app/pkg/config + VER_PKG: gitea.libretechconsulting.com/rmcguire/go-app/pkg/config.Version VERSION: ${{ github.ref_name }} PLATFORMS: linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 DOCKER_REGISTRY: gitea.libretechconsulting.com @@ -80,6 +80,6 @@ jobs: context: . push: true tags: ${{ env.DOCKER_IMG }}:${{ github.ref_name }} - build-args: - VER_PKG: ${{ env.VER_PKG }}.version - VERSION: ${{ github.ref_name }} + build-args: | + VER_PKG={{ env.VER_PKG }} + VERSION=${{ github.ref_name }}