From e44027d20d390341c22df800497e1f39a8cd4935 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 8 Sep 2020 17:40:03 +0200 Subject: [PATCH] Don't upload any artifacts --- action-base.Dockerfile | 2 -- action.bash | 8 -------- 2 files changed, 10 deletions(-) diff --git a/action-base.Dockerfile b/action-base.Dockerfile index 461a0a8..167f3fd 100644 --- a/action-base.Dockerfile +++ b/action-base.Dockerfile @@ -9,8 +9,6 @@ RUN mkdir actions ;\ git -C checkout.git archive --prefix=checkout/ v2 |tar -x ;\ git clone --bare https://github.com/actions/cache.git ;\ git -C cache.git archive --prefix=cache/ v2 |tar -x ;\ - git clone --bare https://github.com/actions/upload-artifact.git ;\ - git -C upload-artifact.git archive --prefix=upload-artifact/ v2 |tar -x ;\ rm -rf *.git diff --git a/action.bash b/action.bash index 546cda8..64f8235 100755 --- a/action.bash +++ b/action.bash @@ -25,14 +25,6 @@ mkimg () { docker build -f /Dockerfile -t "${TARGET}:$TAG" . STATE_isPost=1 node /actions/checkout/dist/index.js - - docker save "${TARGET}:$TAG" |gzip >docker-save.tgz - - set +e - INPUT_NAME=docker-image INPUT_PATH=docker-save.tgz node /actions/upload-artifact/dist/index.js - set -e - - rm docker-save.tgz } push () {