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 committed 2023-02-16 14:31:41 -05:00
1 parent ba56474f15
commit 9ebe708741
2 files changed
+3

No files matched your search

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