File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : deployment
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+
13+ - name : Log in to GitHub Container Registry
14+ uses : docker/login-action@v2
15+ with :
16+ registry : ghcr.io
17+ username : ${{ github.actor }}
18+ password : ${{ secrets.GITHUB_TOKEN }}
19+
20+ - name : Build Docker image
21+ run : |
22+ docker build -t ghcr.io/${{ github.repository }}:latest .
23+
24+ - name : Push Docker image
25+ run : |
26+ docker push ghcr.io/${{ github.repository }}:latest
27+
28+ # not yet
29+ # - name: Trigger Watchtower Refresh
30+ # run: |
31+ # curl --fail -X POST https://watchtower.splitbrain.net/v1/update \
32+ # -H "Authorization: Bearer ${{ secrets.WATCHTOWER_HTTP_API_TOKEN }}"
You can’t perform that action at this time.
0 commit comments