From 6ff1c0bc61d4aed8fd26a2aa8914eac8d26432b1 Mon Sep 17 00:00:00 2001 From: weyu <985695055@qq.com> Date: Sat, 26 Apr 2025 18:55:26 +0800 Subject: [PATCH] spiffe fix7 --- .github/workflows/_push.yml | 2 +- webs/spiffe/toto.sh | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/_push.yml b/.github/workflows/_push.yml index 3a671cd..f189499 100644 --- a/.github/workflows/_push.yml +++ b/.github/workflows/_push.yml @@ -10,6 +10,6 @@ jobs: - uses: actions/checkout@v4 - name: Push To-To-To run: | - /bin/bash build.sh https://github.com/notaryproject/notaryproject.dev.git + /bin/bash build.sh https://github.com/spiffe/spiffe.io.git src=`cat project_dir/ret-data|grep -v ^$|head -n 1` ./ossutil --access-key-id ${{ secrets.ALIYUN_CYG_OSS_AK }} --access-key-secret ${{ secrets.ALIYUN_CYG_OSS_SK }} --endpoint ${{ secrets.ALIYUN_CYG_OSS_ENDPOINT }} --region ${{ secrets.ALIYUN_CYG_OSS_REGION }} cp -f ${src} oss://cncfstack-website/ \ No newline at end of file diff --git a/webs/spiffe/toto.sh b/webs/spiffe/toto.sh index 594827c..776758c 100644 --- a/webs/spiffe/toto.sh +++ b/webs/spiffe/toto.sh @@ -23,6 +23,7 @@ before_build(){ # RUN pipenv sync --dev # CMD [ "pipenv run bash run.sh" ] + log_info "构建本地开发镜像" make docker-build } @@ -44,15 +45,12 @@ build(){ # make setup # make production-build + log_info "使用本地开发镜像镜像构建" docker run -itd --rm -v `pwd`:/app spiffe.io:latest \ - hugo \ + ./hugo \ --destination ./public \ --cleanDestinationDir \ - --buildDrafts \ - --buildFuture \ --minify \ - --gc \ - --enableGitInfo \ --baseURL https://spiffe.website.cncfstack.com }