add docker tags
change
commit 906fd1635d0599fbab56f1cd9e573a7763eaf6fb
author Alpha Chen <alpha@kejadlen.dev>
date
parent 8ba39b11
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c9edc65..08422a4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,6 +22,9 @@ jobs:
         id: meta
         with:
           images: ghcr.io/${{ github.repository }}
+          tags: |
+            type=raw,value=latest,enable={{is_default_branch}}
+            type=sha
       - uses: docker/build-push-action@v5
         with:
           context: .