We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78f2685 + 77866bb commit cd49858Copy full SHA for cd49858
1 file changed
.github/workflows/docker-verify.yml
@@ -0,0 +1,39 @@
1
+name: Verify PR Build
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ paths-ignore:
8
+ - README.md
9
10
+permissions:
11
+ contents: read
12
13
+env:
14
+ IMAGE_NAME: astrum-agent-runtime
15
16
+jobs:
17
+ verify:
18
+ name: Build and verify image
19
+ runs-on: ubuntu-24.04
20
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
25
+ - name: Set up Docker Buildx
26
+ uses: docker/setup-buildx-action@v3
27
28
+ - name: Build image for verification
29
+ uses: docker/build-push-action@v6
30
+ with:
31
+ context: .
32
+ file: ./Dockerfile
33
+ load: true
34
+ tags: ${{ env.IMAGE_NAME }}:pr-${{ github.event.number }}
35
+ cache-from: type=gha
36
+ cache-to: type=gha,mode=max
37
38
+ - name: Verify runtime
39
+ run: docker run --rm "${{ env.IMAGE_NAME }}:pr-${{ github.event.number }}" verify-runtime
0 commit comments