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:

View File

@@ -90,6 +90,7 @@ jobs:
- name: Run `packer validate`
env:
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
PKR_VAR_dokku_version: ${{ needs.release.outputs.version }}
run: "make image/validate/digitalocean"