mirror of
https://github.com/Icinga/docker-icinga2.git
synced 2025-11-08 02:41:01 +01:00
Merge pull request #29 from Icinga/bugfix/github-actions-artifacts
Don't upload any artifacts
This commit is contained in:
commit
10f14a7826
@ -9,8 +9,6 @@ RUN mkdir actions ;\
|
|||||||
git -C checkout.git archive --prefix=checkout/ v2 |tar -x ;\
|
git -C checkout.git archive --prefix=checkout/ v2 |tar -x ;\
|
||||||
git clone --bare https://github.com/actions/cache.git ;\
|
git clone --bare https://github.com/actions/cache.git ;\
|
||||||
git -C cache.git archive --prefix=cache/ v2 |tar -x ;\
|
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
|
rm -rf *.git
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -25,14 +25,6 @@ mkimg () {
|
|||||||
docker build -f /Dockerfile -t "${TARGET}:$TAG" .
|
docker build -f /Dockerfile -t "${TARGET}:$TAG" .
|
||||||
|
|
||||||
STATE_isPost=1 node /actions/checkout/dist/index.js
|
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 () {
|
push () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user