File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://raw.githubusercontent.com/function61/turbobob/refs/heads/main/pkg/bobfile/bobfile.schema.json" ,
23 "for_description_of_this_file_see" : " https://github.com/function61/turbobob" ,
34 "version_major" : 1 ,
45 "project_name" : " turbobob" ,
2829 ]
2930 }
3031 ],
32+ "docker_images" : [
33+ {
34+ "image" : " ghcr.io/function61/turbobob" ,
35+ "platforms" : [" linux/amd64" ]
36+ }
37+ ],
3138 "os_arches" : {
3239 "linux-amd64" : true ,
3340 "linux-arm" : true
Original file line number Diff line number Diff line change @@ -2,12 +2,26 @@ name: Build
22
33on : [push]
44
5+ permissions :
6+ # write is required to create a release 🤷
7+ contents : write
8+ packages : write
9+
510jobs :
611 build :
712 runs-on : ubuntu-latest
813 steps :
914 - uses : actions/checkout@v4
1015
16+ - uses : docker/setup-buildx-action@v3
17+
18+ - name : Login to GitHub Container Registry
19+ uses : docker/login-action@v3
20+ with :
21+ registry : ghcr.io
22+ username : ${{ github.actor }}
23+ password : ${{ secrets.GITHUB_TOKEN }}
24+
1125 - name : Build
1226 run : |
1327 set -eu
Original file line number Diff line number Diff line change 1+ FROM alpine:latest
2+
3+ ENTRYPOINT ["/usr/bin/bob" ]
4+
5+ ADD rel/bob_linux-amd64 /usr/bin/bob
You can’t perform that action at this time.
0 commit comments