Skip to content

Rebuild image

Rebuild image #12

Workflow file for this run

name: Rebuild image
on:
workflow_dispatch: {}
jobs:
rebuild_image:
name: Rebuild and export image
runs-on: self-hosted
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: init packer
run: cd vuln_image && packer init image.pkr.hcl
- name: rebuild and export image
env:
DO_TOKEN: ${{ secrets.DO_TOKEN }}
run: cd vuln_image && packer build -var "api_token=$DO_TOKEN" image.pkr.hcl