Skip to content

Commit 6285aaf

Browse files
committed
docker release fixes
1 parent b8040d1 commit 6285aaf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docker-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
types: [published]
66
workflow_dispatch:
77

8-
env:
9-
DOCKER_IMAGE: thirdweb/indexer
10-
118
jobs:
129
build-and-push:
1310
runs-on: ubuntu-latest
@@ -28,7 +25,9 @@ jobs:
2825
id: meta
2926
uses: docker/metadata-action@v5
3027
with:
31-
images: ${{ env.DOCKER_IMAGE }}
28+
images: ${{ vars.DOCKER_IMAGE }}
29+
tags: |
30+
type=raw,value=latest,enable={{is_default_branch}}
3231
3332
- name: Build and push Docker image
3433
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)