diff --git a/.build/digitalocean/marketplace-image.json b/.build/digitalocean/marketplace-image.json index 32b3abe7..c2f39c08 100644 --- a/.build/digitalocean/marketplace-image.json +++ b/.build/digitalocean/marketplace-image.json @@ -1,7 +1,7 @@ { "variables": { "do_token": "{{env `DIGITALOCEAN_TOKEN`}}", - "image_name": "nextcloud-22-04-snapshot-{{timestamp}}", + "image_name": "nextcloud-24-04-snapshot-{{timestamp}}", "apt_packages": "software-properties-common ufw", "application_name": "Nextcloud", "application_version": "1.0.1" @@ -11,7 +11,7 @@ { "type": "digitalocean", "api_token": "{{user `do_token`}}", - "image": "ubuntu-22-04-x64", + "image": "ubuntu-24-04-x64", "region": "nyc3", "size": "s-1vcpu-1gb", "ssh_username": "root", @@ -19,12 +19,6 @@ } ], "provisioners": [ - { - "type": "shell", - "inline": [ - "cloud-init status --wait" - ] - }, { "type": "file", "source": "files/var/", diff --git a/.github/workflows/publish-to-digitalocean.yml b/.github/workflows/publish-to-digitalocean.yml index 225e5d03..d40abf30 100644 --- a/.github/workflows/publish-to-digitalocean.yml +++ b/.github/workflows/publish-to-digitalocean.yml @@ -20,6 +20,7 @@ jobs: run: | cd ./.build/digitalocean chmod +x -R ./files/var/lib/cloud/scripts + packer plugins install github.com/digitalocean/digitalocean export DIGITALOCEAN_TOKEN=${{ secrets.DIGITALOCEAN_TOKEN }} packer validate marketplace-image.json packer build marketplace-image.json