Skip to content

Commit

Permalink
add container image build
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankad committed Aug 17, 2024
1 parent 6accba9 commit ad618f5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
push:
branches:
- '**'
env:
CONTAINER_REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
CONTAINER_REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }}

jobs:
build-and-test-image:
Expand All @@ -31,6 +35,13 @@ jobs:
- name: Update submodules
run: git submodule update --init --recursive

- name: Login to ACR
uses: docker/login-action@v3
with:
registry: ${{ vars.CONTAINER_REGISTRY }}
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }}

- name: Set up Go
uses: actions/setup-go@v4
with:
Expand All @@ -45,11 +56,8 @@ jobs:
- name: Install wheel
run: pip install wheel

- name: Build encrypted filesystem artifacts
run: cd ${{ github.workspace }}/external/confidential-sidecar-containers && ./buildall.sh

- name: Build contract ledger client library
run: cd ${{ github.workspace }}/external/contract-ledger/pyscitt && python3 setup.py bdist_wheel
- name: Build encrypted filesystem artifacta, contract ledger client & depa-training container
run: cd ${{ github.workspace }} && .ci/build.sh

- name: Build container images
run: cd ${{ github.workspace }}/scenarios/covid && ./ci/build.sh
Expand Down

0 comments on commit ad618f5

Please sign in to comment.