diff --git a/.github/workflows/images-centos.yml b/.github/workflows/images-centos.yml index cd093c5..84e2c5a 100644 --- a/.github/workflows/images-centos.yml +++ b/.github/workflows/images-centos.yml @@ -75,6 +75,13 @@ jobs: ssh root@$IP systemctl is-active images-centos + - name: Archive logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: images-centos-log + path: images-centos.log + - name: delete droplet if: always() run: doctl compute droplet delete -f ga-out-of-tree-images-centos-$GITHUB_SHA diff --git a/.github/workflows/images-oraclelinux.yml b/.github/workflows/images-oraclelinux.yml index f17cfc7..32906d9 100644 --- a/.github/workflows/images-oraclelinux.yml +++ b/.github/workflows/images-oraclelinux.yml @@ -73,6 +73,13 @@ jobs: ssh root@$IP systemctl is-active images-oraclelinux + - name: Archive logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: images-oraclelinux-log + path: images-oraclelinux.log + - name: delete droplet if: always() run: doctl compute droplet delete -f ga-out-of-tree-images-oraclelinux-$GITHUB_SHA