diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cc6c48c8..0033b8d4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: # save image as artifact - run: docker save minimum2scp/baseimage:latest | pigz -c - > /tmp/baseimage.tar.gz - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: { name: baseimage, path: /tmp/baseimage.tar.gz } # push image to docker hub @@ -82,7 +82,7 @@ jobs: # save image as artifact - run: docker save minimum2scp/ruby:latest | pigz -c - > /tmp/ruby.tar.gz - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: { name: ruby, path: /tmp/ruby.tar.gz } # push image to docker hub @@ -408,7 +408,7 @@ jobs: # save image as artifact - run: docker save minimum2scp/baseimage-trixie:latest | pigz -c - > /tmp/baseimage-trixie.tar.gz - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: { name: baseimage-trixie, path: /tmp/baseimage-trixie.tar.gz } # push image to docker hub @@ -527,7 +527,7 @@ jobs: # save image as artifact - run: docker save minimum2scp/baseimage-bookworm:latest | pigz -c - > /tmp/baseimage-bookworm.tar.gz - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: { name: baseimage-bookworm, path: /tmp/baseimage-bookworm.tar.gz } # push image to docker hub diff --git a/.github/workflows/ci.yml.erb b/.github/workflows/ci.yml.erb index d2164eee1..60c2f292f 100644 --- a/.github/workflows/ci.yml.erb +++ b/.github/workflows/ci.yml.erb @@ -85,7 +85,7 @@ images = { <%- if image_conf[:save_artifact] -%> # save image as artifact - run: docker save minimum2scp/<%= image %>:latest | pigz -c - > /tmp/<%= image %>.tar.gz - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: { name: <%= image %>, path: /tmp/<%= image %>.tar.gz } <%- else -%> # no need to save image as artifact