Skip to content

Commit cb63ff7

Browse files
authored
Merge pull request #8 from mingcheng/develop
Develop
2 parents 45dee11 + c9f866e commit cb63ff7

File tree

3 files changed

+13
-62
lines changed

3 files changed

+13
-62
lines changed

.github/workflows/deploy_image.yml

-56
This file was deleted.

.github/workflows/ghcr.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
4949
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.short-sha.outputs.sha }}
5050
labels: ${{ steps.meta.outputs.labels }}
51-
- name: Generate artifact attestation
52-
uses: actions/attest-build-provenance@v2
53-
with:
54-
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
55-
subject-digest: ${{ steps.push.outputs.digest }}
56-
push-to-registry: true
51+
# - name: Generate artifact attestation
52+
# uses: actions/attest-build-provenance@v2
53+
# with:
54+
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
55+
# subject-digest: ${{ steps.push.outputs.digest }}
56+
# push-to-registry: true

Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@ arboard = "3.4"
4141
[[bin]]
4242
name = "aigitcommit"
4343
path = "src/main.rs"
44+
45+
[profile.release]
46+
strip = true
47+
opt-level = "z"
48+
lto = true
49+
codegen-units = 1
50+
panic = "abort"

0 commit comments

Comments
 (0)