This commit is contained in:
parent
3c9698a890
commit
95bc692663
@ -17,12 +17,12 @@ jobs:
|
||||
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
- name: Pull Docker Image for caching
|
||||
run: docker pull registry.sikorski.cloud/docker-admin-helper/ansible:development || exit 0
|
||||
run: docker pull registry.sikorski.cloud/docker-admin-helper:development || exit 0
|
||||
- name: Build docker image
|
||||
run: |
|
||||
docker build . \
|
||||
--cache-from registry.sikorski.cloud/docker-admin-helper/ansible:development \
|
||||
--cache-from registry.sikorski.cloud/docker-admin-helper:development \
|
||||
--file Dockerfile \
|
||||
--tag registry.sikorski.cloud/docker-admin-helper/ansible:development
|
||||
--tag registry.sikorski.cloud/docker-admin-helper:development
|
||||
- name: Push docker image
|
||||
run: docker push registry.sikorski.cloud/docker-admin-helper/ansible --all-tags
|
||||
run: docker push registry.sikorski.cloud/docker-admin-helper --all-tags
|
||||
|
Loading…
Reference in New Issue
Block a user