Skip to content

Commit ac4e71f

Browse files
authored
Update parallel_tests.yml
1 parent ad4487d commit ac4e71f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/parallel_tests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ jobs:
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'

0 commit comments

Comments
 (0)