diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 58d10b4..85cd8a1 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -34,13 +34,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + # Install the cosign tool except on PR # https://github.com/sigstore/cosign-installer - name: Install cosign if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0 + uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1 with: - cosign-release: 'v1.13.1' + cosign-release: 'v2.1.1' # Workaround: https://github.com/docker/build-push-action/issues/461 - name: Setup Docker buildx @@ -85,7 +86,9 @@ jobs: - name: Sign the published Docker image if: ${{ github.event_name != 'pull_request' }} env: - COSIGN_EXPERIMENTAL: 'true' + # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable + TAGS: ${{ steps.meta.outputs.tags }} + DIGEST: ${{ steps.build-and-push.outputs.digest }} # This step uses the identity token to provision an ephemeral certificate # against the sigstore community Fulcio instance. - run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} + run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST} diff --git a/app.vue b/app.vue index 8c80b7a..515a668 100644 --- a/app.vue +++ b/app.vue @@ -56,7 +56,7 @@ $router.beforeEach((from, to, next) => { }) $router.afterEach(() => { - // hidden.value = false + hidden.value = false setTimeout(() => { hidden.value = false }, 300) // thanks to busuanzi! // @prettier-ignore @@ -173,7 +173,7 @@ function renderNumber(num) { } diff --git a/components/CommentSys/Waline.vue b/components/CommentSys/Waline.vue new file mode 100644 index 0000000..ee81df0 --- /dev/null +++ b/components/CommentSys/Waline.vue @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/components/Comments.vue b/components/Comments.vue index 5f3d9a8..e1e5775 100644 --- a/components/Comments.vue +++ b/components/Comments.vue @@ -53,5 +53,15 @@ if (new Date().getDate() === 3 && Math.random * 1000 < 6) { :avatar="settings.site.comment.avatar.d" > +
+ +
diff --git a/components/Footer.vue b/components/Footer.vue index edef24a..d8327cd 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -11,27 +11,27 @@ const props = defineProps({ const settings = reactive(props.settings)