File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4747 SHA256_DIGEST=${{ steps.docker-image-digest.outputs.SHA256_DIGEST }}
4848 CHROME_VERSION=${{ steps.chrome-versions.outputs.CHROME_VERSION }}
4949 SELENIUM_VERSION=${{ steps.selenium-version.outputs.SELENIUM_VERSION }}
50- sed -r "s/public.ecr.aws\/lambda\/python[:@a-z0-9]+/public.ecr.aws\/lambda\/python\@sha256\:${SHA256_DIGEST}/g; s/chrome-for-testing\/[0-9.]+/chrome-for-testing\/${CHROME_VERSION}/g; s/selenium==[0-9\.]*/selenium==${SELENIUM_VERSION}/g" -i Dockerfile
50+ sed -r "s/public.ecr.aws\/lambda\/python[:@a-z0-9]+/public.ecr.aws\/lambda\/python\@sha256\:${SHA256_DIGEST}/g; s/chrome-for-testing-public \/[0-9.]+/chrome-for-testing-public \/${CHROME_VERSION}/g; s/selenium==[0-9\.]*/selenium==${SELENIUM_VERSION}/g" -i Dockerfile
5151 - name : Deploy
5252 run : sls deploy
5353 env :
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/lambda/python@sha256:c95e0a2af8bd2bb58e9de147305d30a6e8e598200ef4a2e9a06d14a4934fb204 as build
22RUN dnf install -y unzip && \
3- curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1. com/edgedl/ chrome/chrome -for-testing/121.0.6167.85/linux64/chromedriver-linux64.zip" && \
4- curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1. com/edgedl/ chrome/chrome -for-testing/121.0.6167.85/linux64/chrome-linux64.zip" && \
3+ curl -Lo "/tmp/chromedriver-linux64.zip" "https://storage.googleapis. com/chrome-for-testing-public /121.0.6167.85/linux64/chromedriver-linux64.zip" && \
4+ curl -Lo "/tmp/chrome-linux64.zip" "https://storage.googleapis. com/chrome-for-testing-public /121.0.6167.85/linux64/chrome-linux64.zip" && \
55 unzip /tmp/chromedriver-linux64.zip -d /opt/ && \
66 unzip /tmp/chrome-linux64.zip -d /opt/
77
You can’t perform that action at this time.
0 commit comments