Skip to content

Set inject_facts_as_vars to false. #18

Set inject_facts_as_vars to false.

Set inject_facts_as_vars to false. #18

name: Docker Image Test Build
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
imagestuff:
- '.dockerignore'
- 'ansible.cfg'
- 'Dockerfile'
- name: Build the Docker image
if: steps.filter.outputs.imagestuff == 'true'
run: docker build . --file Dockerfile --tag ansible-docker:$(date +%s)