File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 5050 - 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
5151 with :
5252 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")'
5370
5471 tests :
5572 if : github.repository == 'panda-re/panda'
You can’t perform that action at this time.
0 commit comments