Use internal artifact action mirror
This commit is contained in:
@@ -269,7 +269,7 @@ jobs:
|
|||||||
artifacts/staging-images/manifest.env "$GITEA_SHA" "$IMAGE_REPOSITORY" >/dev/null
|
artifacts/staging-images/manifest.env "$GITEA_SHA" "$IMAGE_REPOSITORY" >/dev/null
|
||||||
|
|
||||||
- name: Upload immutable staging image manifest
|
- name: Upload immutable staging image manifest
|
||||||
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
uses: https://git.copse.top/jesse/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
|
||||||
with:
|
with:
|
||||||
name: staging-image-manifest-${{ gitea.sha }}-${{ gitea.run_attempt }}
|
name: staging-image-manifest-${{ gitea.sha }}-${{ gitea.run_attempt }}
|
||||||
path: artifacts/staging-images/manifest.env
|
path: artifacts/staging-images/manifest.env
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
|
|||||||
assert.match(workflow, /get\("os"\)=="linux"/);
|
assert.match(workflow, /get\("os"\)=="linux"/);
|
||||||
assert.match(workflow, /get\("architecture"\)=="amd64"/);
|
assert.match(workflow, /get\("architecture"\)=="amd64"/);
|
||||||
assert.match(workflow, /node frontend\/scripts\/staging-image-manifest\.mjs/);
|
assert.match(workflow, /node frontend\/scripts\/staging-image-manifest\.mjs/);
|
||||||
assert.match(workflow, /uses: https:\/\/gitea\.com\/actions\/gitea-upload-artifact@v4/);
|
assert.match(workflow, /uses: https:\/\/git\.copse\.top\/jesse\/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7/);
|
||||||
assert.match(workflow, /name: staging-image-manifest-\$\{\{ gitea\.sha \}\}-\$\{\{ gitea\.run_attempt \}\}/);
|
assert.match(workflow, /name: staging-image-manifest-\$\{\{ gitea\.sha \}\}-\$\{\{ gitea\.run_attempt \}\}/);
|
||||||
assertOrder(workflow, [
|
assertOrder(workflow, [
|
||||||
"docker login",
|
"docker login",
|
||||||
|
|||||||
Reference in New Issue
Block a user