packer-images/.gitea/workflows/build.yaml
Ben Vincent 29a4d9b0d0
Some checks failed
Build / build (pull_request) Failing after 3s
fix: enable fetch-depth for code_checkout
2025-01-25 16:58:56 +11:00

28 lines
526 B
YAML

name: Build
on:
pull_request:
jobs:
build:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux9-actionsdind:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Show changed files
run: |
git diff --name-only master
- name: Run Packer Builds
env:
VAULT_ROLEID: ${{ secrets.PACKER_BUILDER_VAULT_ROLEID }}
run: |
make