From 0f81058b02dd86bfe15c10a41c12b06e8afa8005 Mon Sep 17 00:00:00 2001 From: "avi@robusta.dev" Date: Tue, 11 Jun 2024 12:24:10 +0300 Subject: [PATCH] build test --- .github/workflows/docker-build-on-tag.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-build-on-tag.yml b/.github/workflows/docker-build-on-tag.yml index 617f661c..e95cb49c 100644 --- a/.github/workflows/docker-build-on-tag.yml +++ b/.github/workflows/docker-build-on-tag.yml @@ -1,9 +1,6 @@ name: Docker Build and Push -on: - push: - tags: - - '*' +on: [push] jobs: build: @@ -28,7 +25,7 @@ jobs: context: . platforms: linux/arm64,linux/amd64 push: true - tags: robustadev/krr:${{ github.ref_name }} + tags: robustadev/krr:test_release build-args: | BUILDKIT_INLINE_CACHE=1 @@ -53,7 +50,7 @@ jobs: docker buildx build \ --build-arg BUILDKIT_INLINE_CACHE=1 \ --platform linux/arm64,linux/amd64 \ - --cache-from robustadev/krr:${{ github.ref_name }} \ - --tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:${{ github.ref_name }} \ + --cache-from robustadev/krr:test_release \ + --tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:test_release \ --push \ .