From 6285aaf81a8f42c3c80fa0aefb5f69acc627b8e8 Mon Sep 17 00:00:00 2001 From: iuwqyir Date: Thu, 17 Oct 2024 16:39:54 +0300 Subject: [PATCH] docker release fixes --- .github/workflows/docker-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index a533371..e25d1de 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -5,9 +5,6 @@ on: types: [published] workflow_dispatch: -env: - DOCKER_IMAGE: thirdweb/indexer - jobs: build-and-push: runs-on: ubuntu-latest @@ -28,7 +25,9 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.DOCKER_IMAGE }} + images: ${{ vars.DOCKER_IMAGE }} + tags: | + type=raw,value=latest,enable={{is_default_branch}} - name: Build and push Docker image uses: docker/build-push-action@v5