fix: run packer validate with access to the DO token
Without this, it fails when initializing the builder.
This commit is contained in:
1 parent
ba56474f15
commit
9ebe708741
2 files changed
+3
No files matched your search
@@ -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:
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user