Skip to content

Commit 5084995

Browse files
committed
Use GitHub repository
1 parent f402c45 commit 5084995

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Build image
1818
run: docker buildx build . -o type=oci,dest=image.tar
1919
- name: Push image to Caasis
20-
run: gzip -c image.tar | curl -Lu "$CAASIS_API_KEY" --data-binary @- https://api.caasis.cloud/new/${{ github.event.pull_request.html_url }} | tee ~/url
20+
run: gzip -c image.tar | curl -Lu "$CAASIS_API_KEY" --data-binary @- https://api.caasis.cloud/new/$GITHUB_REPOSITORY/$GITHUB_HEAD_REF | tee ~/url
2121
if: ${{ github.head_ref }}
2222
env:
2323
CAASIS_API_KEY: ${{ secrets.CAASIS_API_KEY }}

0 commit comments

Comments
 (0)