mirror of
https://github.com/AsgardEternal/Ubuntu-Ansible-Setup.git
synced 2024-09-28 11:44:23 -05:00
Update build-docker.yml
This commit is contained in:
parent
e0252311ab
commit
7be48b52df
7
.github/workflows/build-docker.yml
vendored
7
.github/workflows/build-docker.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user