From c9120796f8186520ba2a2f5e2ea02d8759fe7e2e Mon Sep 17 00:00:00 2001 From: Fabian Kramm Date: Fri, 3 Nov 2023 21:26:02 +0100 Subject: [PATCH] change pipeline --- .github/workflows/release.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a5b6362d..610b1a084 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Publish to GitHub Container Registry env: - REGISTRY: ghcr.io/kubeguard + REGISTRY: ghcr.io/loft-sh APPSCODE_ENV: prod run: | make release COMPRESS=yes diff --git a/Makefile b/Makefile index 054a833fe..65256555a 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ REGISTRY ?= ghcr.io/kubeguard # This version-strategy uses git tags to set the version string git_branch := $(shell git rev-parse --abbrev-ref HEAD) -git_tag := $(shell git describe --exact-match --abbrev=0 2>/dev/null || echo "") +git_tag := $(shell git tag --points-at HEAD 2>/dev/null || echo "") commit_hash := $(shell git rev-parse --verify HEAD) commit_timestamp := $(shell date --date="@$$(git show -s --format=%ct)" --utc +%FT%T)