File tree 1 file changed +17
-0
lines changed 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 50
50
- uses : actions/checkout@v4 # Clones to $GITHUB_WORKSPACE. NOTE: this requires git > 2.18 (not on ubuntu 18.04 by default) to get .git directory
51
51
with :
52
52
fetch-depth : 0
53
+ - name : ' Login to Github Container Registry'
54
+ uses : docker/login-action@v3
55
+ with :
56
+ registry : ghcr.io
57
+ username : ${{ github.actor }}
58
+ password : ${{ secrets.GITHUB_TOKEN }}
59
+ - name : Set up Docker Buildx
60
+ uses : docker/setup-buildx-action@v3
61
+ - name : Build and push
62
+ uses : docker/build-push-action@v5
63
+ with :
64
+ context : ${{ github.workspace }}
65
+ tags : ghcr.io/${{ github.repository_owner }}/panda_local:${{ github.sha }}
66
+ target : developer
67
+ push : true
68
+ - name : Minimal test of built container # Just test to see if one of our binaries is built
69
+ run : docker run --rm "ghcr.io/${{ github.repository_owner }}/panda_local:${{ github.sha }}" /bin/bash -c 'exit $(/panda/build/arm-softmmu/panda-system-arm -help | grep -q "usage. panda-system-arm")'
53
70
54
71
tests :
55
72
if : github.repository == 'panda-re/panda'
You can’t perform that action at this time.
0 commit comments