need to specify the docker repo for the image
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