File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,12 @@ jobs:
223223 cache-from : type=gha,scope=tinqiita-${{ github.ref_name }}
224224 cache-to : type=gha,scope=tinqiita-${{ github.ref_name }},mode=max
225225
226+ - name : Prune build cache after build (saving disc space)
227+ run : |
228+ df -h /
229+ docker buildx prune -af
230+ df -h /
231+
226232 - name : adapt compose file to select specific plugin
227233 run : |
228234 if [[ "${{ matrix.multiplugin }}" == "qp-qiime2" ]]; then sed -i 's|- QIITA_PLUGINS="MATRIXPLUGIN:"|- QIITA_PLUGINS="${{ matrix.multiplugin }}:qtp-diversity:qtp-visualization:"|' compose_github.yaml; sed -i 's|MATRIXPLUGIN:|${{ matrix.multiplugin }}:\n condition: service_started\n qtp-diversity:\n condition: service_started\n qtp-visualization:|' compose_github.yaml; fi;
@@ -241,12 +247,8 @@ jobs:
241247
242248 - name : Push image to ghcr (only if tests passed)
243249 if : success()
244- uses : docker/build-push-action@v6
245- with :
246- context : .
247- push : true
248- file : Images/${{ matrix.multiplugin }}/${{ matrix.multiplugin }}.dockerfile
249- tags : ghcr.io/${{ github.repository }}/${{ matrix.multiplugin }}:testcandidate
250+ run : |
251+ docker push ghcr.io/${{ github.repository }}/${{ matrix.multiplugin }}:testcandidate
250252
251253 publish_images :
252254 needs :
You can’t perform that action at this time.
0 commit comments