7474
7575 - name : In-Toto Provenance record start
7676 id : in-toto-start
77- uses : docker://ghcr.io/l3montree-dev/devguard/scanner:v1.3.0
77+ uses : docker://ghcr.io/l3montree-dev/devguard/scanner:main
7878 with :
7979 args : devguard-scanner intoto start --step=build --token=${{ secrets.devguard-token }} --apiUrl=${{ inputs.api-url }} --assetName=${{ inputs.asset-name }} --supplyChainId=${{ github.sha }}
8080 continue-on-error : true
@@ -110,7 +110,7 @@ jobs:
110110 docker run --rm \
111111 -v "$GITHUB_WORKSPACE:/workspace" \
112112 -w /workspace \
113- ghcr.io/l3montree-dev/devguard/scanner:v1.3.0 \
113+ ghcr.io/l3montree-dev/devguard/scanner:main \
114114 crane digest --tarball="${IMAGE_DESTINATION_PATH}" > image-digest.txt
115115 env :
116116 IMAGE_DESTINATION_PATH : ${{ inputs.image-destination-path }}
@@ -142,7 +142,7 @@ jobs:
142142 docker run --rm \
143143 -e IMAGE_PATH \
144144 -e GITHUB_REF_NAME \
145- ghcr.io/l3montree-dev/devguard/scanner:v1.3.0 \
145+ ghcr.io/l3montree-dev/devguard/scanner:main \
146146 devguard-scanner generate-tag \
147147 --imagePath="$IMAGE_PATH" \
148148 --ref="$GITHUB_REF_NAME" \
@@ -164,7 +164,7 @@ jobs:
164164 docker run --rm \
165165 --user 53111:53111 \
166166 -v "${HOME}/.docker:/tmp/.docker" \
167- ghcr.io/l3montree-dev/devguard/scanner:v1.3.0 \
167+ ghcr.io/l3montree-dev/devguard/scanner:main \
168168 crane auth login ghcr.io -u ${{ github.actor }} -p ${{ github.token }}
169169 if : inputs.disable-artifact-registry-as-image-store == true
170170
@@ -174,7 +174,7 @@ jobs:
174174 -v "$GITHUB_WORKSPACE:/workspace" \
175175 -w /workspace \
176176 -v "${HOME}/.docker:/tmp/.docker:ro" \
177- ghcr.io/l3montree-dev/devguard/scanner:v1.3.0 \
177+ ghcr.io/l3montree-dev/devguard/scanner:main \
178178 crane push "${IMAGE_DESTINATION_PATH}" "$(cat image-tag.txt)"
179179 env :
180180 IMAGE_DESTINATION_PATH : ${{ inputs.image-destination-path }}
@@ -223,7 +223,7 @@ jobs:
223223 path : image-tag.txt
224224
225225 - name : In-Toto Provenance record stop
226- uses : docker://ghcr.io/l3montree-dev/devguard/scanner:v1.3.0
226+ uses : docker://ghcr.io/l3montree-dev/devguard/scanner:main
227227 with :
228228 args : devguard-scanner intoto stop --step=build --products=image-digest.txt --products=image-tag.txt --token=${{ secrets.devguard-token }} --apiUrl=${{ inputs.api-url }} --assetName=${{ inputs.asset-name }} --supplyChainId=${{ github.sha }} --generateSlsaProvenance --defaultRef=${{ github.event.repository.default_branch }} --isTag=${{ github.ref_type == 'tag' }} --ref=${{ github.ref_name }}
229229 continue-on-error : true
0 commit comments