From 60675a9ed0eb7d031dedbe844f9822610b2f291c Mon Sep 17 00:00:00 2001 From: Aaron Aichlmayr Date: Mon, 24 Apr 2023 12:58:38 -0500 Subject: [PATCH] Bugfix --- .github/workflows/deploy-DEV.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-DEV.yml b/.github/workflows/deploy-DEV.yml index 572b72d321e..b0a4be35986 100644 --- a/.github/workflows/deploy-DEV.yml +++ b/.github/workflows/deploy-DEV.yml @@ -69,15 +69,21 @@ jobs: platform: [amd64] #,linux/arm64 -Temporary, getting no space left on device steps: - uses: actions/checkout@v3 + - name: Build image tag name + id: image_tag + run: | + BRANCH_NAME="${GITHUB_REF##*/}" + TAG="test-${{ github.actor }}-${BRANCH_NAME}" + echo "Tag name: ${TAG}" + echo "tag=${TAG}" >>"$GITHUB_OUTPUT" - uses: actions/download-artifact@v3 with: name: oci-tar - path: /oci-tar - name: Load image shell: bash run: | - if [[ -f /oci-tar/image.tar ]]; then - skopeo copy --override-os=linux --override-arch=${{ matrix.platform }} oci-archive:/oci-tar/image.tar oxsecurity/megalinter:${{ steps.image_tag.outputs.tag }} + if [[ -f image.tar ]]; then + skopeo copy --override-os=linux --override-arch=${{ matrix.platform }} oci-archive:image.tar docker-daemon:oxsecurity/megalinter:${{ steps.image_tag.outputs.tag }} fi # Free disk space - name: Free Disk space