From c5eb9ea2c201f1bd52098fe8a40911972f945ae4 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Wed, 13 Nov 2024 14:04:28 -0500 Subject: [PATCH] fix push to main and tag semver build for docker ci (#2054) --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8005f66837..28dad00465 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,8 +48,8 @@ jobs: winglian/axolotl axolotlai/axolotl tags: | - type=ref,event=tag - type=ref,event=push + type=ref,event=branch + type=semver,pattern={{version}} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub @@ -159,8 +159,8 @@ jobs: winglian/axolotl-cloud-term axolotlai/axolotl-cloud-term tags: | - type=ref,event=tag - type=ref,event=push + type=ref,event=branch + type=semver,pattern={{version}} - name: Login to Docker Hub uses: docker/login-action@v3 with: