fix: run packer validate with access to the DO token

Without this, it fails when initializing the builder.
This commit is contained in:
Jose Diaz-Gonzalez
2023-02-16 14:31:41 -05:00
parent ba56474f15
commit 9ebe708741
2 changed files with 3 additions and 0 deletions

View File

@@ -47,6 +47,8 @@ jobs:
- name: Run packer init
run: "make image/init/digitalocean"
- name: Run `packer validate`
env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
run: "make image/validate/digitalocean"
shellcheck: