parent
95bc692663
commit
775e0f17eb
@ -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:development || exit 0
|
run: docker pull gitea.sikorski.cloud/rogersik/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:development \
|
--cache-from gitea.sikorski.cloud/rogersik/docker-admin-helper:development \
|
||||||
--file Dockerfile \
|
--file Dockerfile \
|
||||||
--tag registry.sikorski.cloud/docker-admin-helper:development
|
--tag gitea.sikorski.cloud/rogersik//docker-admin-helper:development
|
||||||
- name: Push docker image
|
- name: Push docker image
|
||||||
run: docker push registry.sikorski.cloud/docker-admin-helper --all-tags
|
run: docker push gitea.sikorski.cloud/rogersik/docker-admin-helper --all-tags
|
||||||
|
Loading…
Reference in New Issue
Block a user