File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 18
18
registry : ghcr.io
19
19
username : ${{ github.actor }}
20
20
password : ${{ secrets.GITHUB_TOKEN }}
21
+ - uses : tailscale/github-action@v3
22
+ with :
23
+ oauth-client-id : ${{ secrets.TS_OAUTH_CLIENT_ID }}
24
+ oauth-secret : ${{ secrets.TS_OAUTH_SECRET }}
25
+ tags : tag:ci
26
+ - run : sudo tailscale up --accept-dns --accept-routes --advertise-tags=tag:ci --hostname=github-actions
21
27
- run : name=coilysiren-backend make .build-docker
28
+ - run : name=coilysiren-backend make retrieve-bunny
22
29
- run : docker tag coilysiren-backend:latest ghcr.io/${{ github.repository }}/coilysiren-backend:${{ github.sha }}
23
30
- run : docker push ghcr.io/${{ github.repository }}/coilysiren-backend:${{ github.sha }}
24
31
deploy :
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ build-native: .build
49
49
# see also: build-native
50
50
build-docker : .build .build-docker
51
51
52
+ # # retrieve the bunny video from the server
53
+ retrieve-bunny :
54
+ scp kai@kai-server:/home/kai/bunny.webm .
55
+
52
56
.publish :
53
57
docker tag $(name ) :$(git-hash ) $(image-url )
54
58
docker push $(image-url )
You can’t perform that action at this time.
0 commit comments