All checks were successful
Deploy / build (push) Successful in 3s
- deploy runs on master branch, dont attempt to fetch it Reviewed-on: https://git.query.consul/unkin/packer-images/pulls/7
28 lines
569 B
YAML
28 lines
569 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
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: Run Packer Builds
|
|
env:
|
|
VAULT_ROLEID: ${{ secrets.PACKER_BUILDER_VAULT_ROLEID }}
|
|
DOCKER_USERNAME: ${{ secrets.UPLOAD_USER }}
|
|
DOCKER_PASSWORD: ${{ secrets.UPLOAD_PASS }}
|
|
run: |
|
|
make
|