File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,21 @@ jobs:
69
69
platform : [amd64] # ,linux/arm64 -Temporary, getting no space left on device
70
70
steps :
71
71
- uses : actions/checkout@v3
72
+ - name : Build image tag name
73
+ id : image_tag
74
+ run : |
75
+ BRANCH_NAME="${GITHUB_REF##*/}"
76
+ TAG="test-${{ github.actor }}-${BRANCH_NAME}"
77
+ echo "Tag name: ${TAG}"
78
+ echo "tag=${TAG}" >>"$GITHUB_OUTPUT"
72
79
- uses : actions/download-artifact@v3
73
80
with :
74
81
name : oci-tar
75
- path : /oci-tar
76
82
- name : Load image
77
83
shell : bash
78
84
run : |
79
- if [[ -f /oci-tar/ image.tar ]]; then
80
- skopeo copy --override-os=linux --override-arch=${{ matrix.platform }} oci-archive:/oci-tar/ image.tar oxsecurity/megalinter:${{ steps.image_tag.outputs.tag }}
85
+ if [[ -f image.tar ]]; then
86
+ skopeo copy --override-os=linux --override-arch=${{ matrix.platform }} oci-archive:image.tar docker-daemon: oxsecurity/megalinter:${{ steps.image_tag.outputs.tag }}
81
87
fi
82
88
# Free disk space
83
89
- name : Free Disk space
You can’t perform that action at this time.
0 commit comments