removed copy-pasta code
All checks were successful
/ build (push) Successful in 8s

This commit is contained in:
Roger Sikorski 2023-07-24 06:55:33 +02:00
parent 3c9698a890
commit 95bc692663
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4

View File

@ -17,12 +17,12 @@ jobs:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }} REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
- name: Pull Docker Image for caching - 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 - name: Build docker image
run: | run: |
docker build . \ docker build . \
--cache-from registry.sikorski.cloud/docker-admin-helper/ansible:development \ --cache-from registry.sikorski.cloud/docker-admin-helper:development \
--file Dockerfile \ --file Dockerfile \
--tag registry.sikorski.cloud/docker-admin-helper/ansible:development --tag registry.sikorski.cloud/docker-admin-helper:development
- name: Push docker image - 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