fix: run packer validate with access to the DO token
Without this, it fails when initializing the builder.
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -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:
|
||||
|
||||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user