need to specify the docker repo for the image
change
commit 7d4c0e99e3a191056c4376a3c4055145849d9652
author Alpha Chen <alpha@kejadlen.dev>
date
parent dabc4516
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 4377344..bd7057c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -21,8 +21,10 @@ jobs:
           username: ${{ github.actor }}
           password: ${{ secrets.GITHUB_TOKEN }}
       - run: |
-          docker tag ${{ github.repository }}:$(git rev-parse --short HEAD) ${{ github.repository }}:fly
+          docker tag ${IMAGE}:$(git rev-parse --short HEAD) ${IMAGE}:fly
           docker push ${{ github.repository }}
+        env:
+          IMAGE: ghcr.io/${{ github.repository }}
 
       - uses: superfly/flyctl-actions/setup-flyctl@master
       - run: flyctl deploy --remote-only