From b104e8dc949016a46cffd346396500b321332a51 Mon Sep 17 00:00:00 2001 From: pbochynski Date: Tue, 11 Jun 2024 13:01:21 +0200 Subject: [PATCH] Version from tag --- .github/workflows/image-build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/image-build.yml b/.github/workflows/image-build.yml index 612b759..5541166 100644 --- a/.github/workflows/image-build.yml +++ b/.github/workflows/image-build.yml @@ -4,6 +4,8 @@ on: push: branches: - main + tags: + - '*.*.*' jobs: build-image: @@ -11,4 +13,7 @@ jobs: with: name: ip-auth dockerfile: Dockerfile - context: . \ No newline at end of file + context: . + tags: | + ghcr.io/kyma-project/ip-auth:latest + ghcr.io/kyma-project/ip-auth:${{ github.ref_name }} \ No newline at end of file