This commit is contained in:
parent
765e3e6b60
commit
f53128a7ea
@ -13,12 +13,12 @@ jobs:
|
||||
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
- name: Pull Docker Image for caching
|
||||
run: docker pull gitea.sikorski.cloud/rogersik/docker-devops-helper:development || exit 0
|
||||
run: docker pull gitea.sikorski.cloud/rogersik/devops-helper:development || exit 0
|
||||
- name: Build docker image
|
||||
run: |
|
||||
docker build . \
|
||||
--cache-from gitea.sikorski.cloud/rogersik/docker-devops-helper:development \
|
||||
--cache-from gitea.sikorski.cloud/rogersik/devops-helper:development \
|
||||
--file Dockerfile \
|
||||
--tag gitea.sikorski.cloud/rogersik/docker-devops-helper:latest
|
||||
--tag gitea.sikorski.cloud/rogersik/devops-helper:latest
|
||||
- name: Push docker image
|
||||
run: docker push gitea.sikorski.cloud/rogersik/docker-devops-helper --all-tags
|
||||
run: docker push gitea.sikorski.cloud/rogersik/devops-helper --all-tags
|
||||
|
Loading…
Reference in New Issue
Block a user