File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- - fix/docker-deployment # <--- This lets you test in your fork!
7+ # - fix/docker-deployment
88 pull_request :
99 branches :
1010 - main
11- workflow_dispatch : # <--- Adds a button to run it manually
11+ workflow_dispatch :
1212
1313env :
14- IMAGE_NAME : specializedboy /mirage-git # <--- Updated to your Docker Hub username
14+ IMAGE_NAME : fabnemepfl /mirage
1515 REGISTRY : docker.io
1616
1717jobs :
6464 uses : actions/checkout@v4
6565
6666 - name : Log in to DockerHub
67- # MAGIC FIX: Skip login if this is a PR (fixes the upstream crash)
6867 if : github.event_name != 'pull_request'
6968 uses : docker/login-action@v3
7069 with :
7978 with :
8079 context : .
8180 file : ${{ matrix.path }}
82- # MAGIC FIX: Only push if it is NOT a PR
8381 push : ${{ github.event_name != 'pull_request' }}
8482 tags : |
8583 ${{ secrets.DOCKER_USERNAME }}/${{ matrix.name }}:latest-${{ matrix.tag_base }}
You can’t perform that action at this time.
0 commit comments