ci: improve caching of ansible image

This commit is contained in:
Price Hiller 2024-07-19 01:26:33 -05:00
parent 87c49121ae
commit f81513a983
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -29,4 +29,5 @@ jobs:
file: ./Dockerfile
push: true
tags: "${{ vars.DOCKER_REGISTRY_URL }}/${{ vars.ANSIBLE_CONTAINER }}:latest"
cache-from: type=registry,ref=${{ vars.DOCKER_REGISTRY_URL }}/{{ vars.ANSIBLE_CONTAINER }}:latest
cache-to: type=inline