diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d3c357..d045c9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: DOCKER_REGISTRY_USERNAME: ucentral steps: - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github @@ -58,11 +58,11 @@ jobs: - name: Get base branch name and set as output id: get_base_branch run: | - echo ::set-output name=branch::$(echo ${GITHUB_BASE_REF##*/}) - echo ::set-output name=owgw_branch::$(echo ${GITHUB_BASE_REF##*/} | sed 's/main/master/g') + echo "branch=$(echo ${GITHUB_BASE_REF##*/})" >> $GITHUB_OUTPUT + echo "owgw_branch=$(echo ${GITHUB_BASE_REF##*/} | sed 's/main/master/g')" >> $GITHUB_OUTPUT - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github @@ -87,7 +87,7 @@ jobs: - docker steps: - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github diff --git a/Dockerfile b/Dockerfile index 2106121..de95021 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,8 @@ ADD overlays /owfms/overlays ADD cmake /owfms/cmake ADD src /owfms/src ADD .git /owfms/.git -RUN git clone https://github.com/microsoft/vcpkg && \ +ARG VCPKG_VERSION=2022.11.14 +RUN git clone --depth 1 --branch ${VCPKG_VERSION} https://github.com/microsoft/vcpkg && \ ./vcpkg/bootstrap-vcpkg.sh && \ mkdir /vcpkg/custom-triplets && \ cp /vcpkg/triplets/x64-linux.cmake /vcpkg/custom-triplets/x64-linux.cmake && \