Update check_git_apply.yaml

This commit is contained in:
uazo 2022-10-28 07:48:37 -08:00 committed by GitHub
parent 73d719f6db
commit 967b46c94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ on:
env: env:
GITHUB_SHA: ${{ github.event.inputs.rtag }} GITHUB_SHA: ${{ github.event.inputs.rtag }}
USEINTERNALNETWORK: false # CUSTOM RUNNER: create the docker network as internal USEINTERNALNETWORK: false # CUSTOM RUNNER: create the docker network as internal
REMOVEDOCKERSUPPORT: true # CUSTOM RUNNER: remove sharing of docker socket REMOVEDOCKERSUPPORT: false # CUSTOM RUNNER: remove sharing of docker socket
jobs: jobs:
get-git-apply: get-git-apply:
@ -25,7 +25,7 @@ jobs:
env: env:
GITHUB_SHA: ${{ github.event.inputs.rtag }} GITHUB_SHA: ${{ github.event.inputs.rtag }}
USELOCALIMAGE: true # CUSTOM RUNNER: permit use of local images USELOCALIMAGE: true # CUSTOM RUNNER: permit use of local images
REMOVEDOCKERSUPPORT: true # CUSTOM RUNNER: remove sharing of docker socket REMOVEDOCKERSUPPORT: false # CUSTOM RUNNER: remove sharing of docker socket
volumes: volumes:
- /tmp/proxy:/tmp/proxy - /tmp/proxy:/tmp/proxy
@ -41,6 +41,8 @@ jobs:
export http_proxy=http://172.18.0.1:8118 export http_proxy=http://172.18.0.1:8118
export https_proxy=http://172.18.0.1:8118 export https_proxy=http://172.18.0.1:8118
sudo chown lg /__w/_temp
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb rm packages-microsoft-prod.deb