github.com/openshift/source-to-image@v1.4.1-0.20240516041539-bf52fc02204e/examples/nginx-centos7/s2i/bin/save-artifacts (about) 1 #!/bin/sh -e 2 # 3 # S2I save-artifacts script for the 'nginx-centos7' image. 4 # The save-artifacts script streams a tar archive to standard output. 5 # The archive contains the files and folders you want to re-use in the next build. 6 # 7 # For more information see the documentation: 8 # https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md 9 # 10 touch /tmp/artifact.txt 11 cd /tmp 12 tar cf - artifact.txt