Update build-docker.yml

This commit is contained in:
Skillet 2023-02-03 15:37:06 -05:00 committed by GitHub
parent e0252311ab
commit 7be48b52df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,11 @@ jobs:
- name: clean work directory
uses: AutoModality/action-clean@v1
- name: check files
run: rm -R .github
- name: checkout repo
uses: actions/checkout@v3
with:
path: dev
- name: Login To Registry
uses: docker/login-action@v2
@ -33,7 +32,7 @@ jobs:
- name: Build Ansible Image
uses: docker/build-push-action@v3
with:
context: .
context: ./dev
file: ./Dockerfile
push: true
cache-from: type=registry,ref=${{ vars.DOCKER_REGISTRY_URL }}/${{ vars.ansible_container }}:latest