Skip to content

Commit aef8fcf

Browse files
xynydevgmpinder
andauthored
feat: containerd mount for faster builds and cli version update (#22)
* Use main-alpine tag for testing purposes * Add trace logging for debugging * Don't require cosign private key * Add volume mount for /var/run/containerd for better disk performance * Update to GH_TOKEN and GH_PR_EVENT_NUMBER * Update action.yml --------- Co-authored-by: Gerald Pinder <[email protected]>
1 parent 3052739 commit aef8fcf

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

action.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,17 @@ runs:
6565
shell: bash
6666
env:
6767
COSIGN_PRIVATE_KEY: ${{ inputs.cosign_private_key }}
68-
REGISTRY_TOKEN: ${{ inputs.registry_token }}
69-
PR_EVENT_NUMBER: ${{ inputs.pr_event_number }}
68+
GH_TOKEN: ${{ inputs.registry_token }}
69+
GH_PR_EVENT_NUMBER: ${{ inputs.pr_event_number }}
7070
run: |
71-
podman run --env-host --network=host --privileged --device /dev/fuse -v $PWD:/bluebuild \
72-
ghcr.io/blue-build/cli:v0.7.1-alpine build --push ./config/${{ inputs.recipe }} \
73-
--registry ${{inputs.registry}} --registry-namespace ${{inputs.registry_namespace}}
71+
podman run \
72+
-v buildah-vol:/var/run/containerd \
73+
-v $PWD:/bluebuild \
74+
--env-host \
75+
--network=host \
76+
--privileged \
77+
--device /dev/fuse \
78+
ghcr.io/blue-build/cli:v0.8.0-alpine \
79+
build -vv --push ./config/${{ inputs.recipe }} \
80+
--registry ${{inputs.registry}} \
81+
--registry-namespace ${{inputs.registry_namespace}}

0 commit comments

Comments
 (0)