diff --git a/.github/workflows/docker-build-on-tag.yml b/.github/workflows/docker-build-on-tag.yml index 617f661..e95cb49 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 \ .