-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Xudong Sun <[email protected]>
- Loading branch information
1 parent
40c6fd8
commit 6ad260d
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Controller build | ||
on: | ||
workflow_dispatch: | ||
env: | ||
IMAGE_NAME: ${{ github.repository }} | ||
jobs: | ||
build-ae-image: | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Log into registry ghcr.io | ||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin | ||
- name: Build artifact evaluation image | ||
run: | | ||
cp docker/ae/Dockerfile . | ||
docker build -t ghcr.io/${{ env.IMAGE_NAME }}/ae:latest . | ||
docker tag ghcr.io/${{ env.IMAGE_NAME }}/ae:latest ghcr.io/${{ env.IMAGE_NAME }}/ae:${{ github.sha }} | ||
- name: Push artifact evaluation image | ||
run: | | ||
docker push ghcr.io/${{ env.IMAGE_NAME }}/ae:latest | ||
docker push ghcr.io/${{ env.IMAGE_NAME }}/ae:${{ github.sha }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM ghcr.io/vmware-research/verifiable-controllers/verus:latest as builder | ||
|
||
WORKDIR /anvil | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
COPY . . | ||
|
||
RUN apt install -y pkg-config libssl-dev |