CI/CD: add docker tag for inclavare-dev and inclavare-test images in commit-skeleton-ex(#685)
@@ -24,6 +24,8 @@ jobs:
- name: Create inclavare development container
run: |
+ docker tag inclavarecontainers/dev:$RUNE_VERSION-centos8.2 inclavare-dev:centos8.2;
+ docker tag inclavarecontainers/dev:$RUNE_VERSION-ubuntu18.04 inclavare-dev:ubuntu18.04;
inclavare_dev=$(docker run -itd --privileged --rm --net host -v $GITHUB_WORKSPACE:/root/inclavare-containers inclavare-dev:${{ matrix.tag }});
echo "inclavare_dev=$inclavare_dev" >> $GITHUB_ENV
@@ -50,11 +52,7 @@ jobs:
find ./ -path "*deb/build.sh" | xargs -I files sed -i '17 d' files;
find ./ -path "*deb/build.sh" | xargs -I files sed -i '17icp /root/v*.tar.gz \$DEBBUILD_DIR' files;
make package -j${CPU_NUM};
- source /etc/profile;
- make package;
- mv *.deb /root/inclavare-containers;
- cd /root/inclavare-containers-$RUNE_VERSION/rune/libenclave/internal/runtime/pal/skeleton;
- rm -f aesm.pb-c.*"
+ mv *.deb /root/inclavare-containers"
- name: Start docker daemon
run: |
@@ -84,8 +82,10 @@ jobs:
- name: Kill the dev container
run: docker stop $inclavare_dev
- - name: Create test container
+ - name: Create runtime testing container
run: |
+ docker tag ubuntu:18.04 inclavare-test:ubuntu18.04;
+ docker tag centos:8.2.2004 inclavare-test:centos8.2;
inclavare_test=$(docker run -itd --privileged --rm --net host -v /dev/sgx_enclave:/dev/sgx/enclave -v /dev/sgx_provision:/dev/sgx/provision -v $GITHUB_WORKSPACE:/root/inclavare-containers -v /var/run/aesmd:/var/run/aesmd inclavare-test:${{ matrix.tag }});
echo "inclavare_test=$inclavare_test" >> $GITHUB_ENV
