feature/gitea-actions-update #2

Merged
RogerSik merged 5 commits from feature/gitea-actions-update into main 2023-07-24 07:07:12 +02:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit 765e3e6b60 - Show all commits

View File

@ -14,12 +14,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 gitea.sikorski.cloud/rogersik/docker-admin-helper:development || exit 0 run: docker pull gitea.sikorski.cloud/rogersik/docker-devops-helper:development || exit 0
- name: Build docker image - name: Build docker image
run: | run: |
docker build . \ docker build . \
--cache-from gitea.sikorski.cloud/rogersik/docker-admin-helper:development \ --cache-from gitea.sikorski.cloud/rogersik/docker-devops-helper:development \
--file Dockerfile \ --file Dockerfile \
--tag gitea.sikorski.cloud/rogersik/docker-admin-helper:development --tag gitea.sikorski.cloud/rogersik/docker-devops-helper:development
- name: Push docker image - name: Push docker image
run: docker push gitea.sikorski.cloud/rogersik/docker-admin-helper --all-tags run: docker push gitea.sikorski.cloud/rogersik/docker-devops-helper --all-tags

View File

@ -13,12 +13,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 gitea.sikorski.cloud/rogersik/docker-admin-helper:development || exit 0 run: docker pull gitea.sikorski.cloud/rogersik/docker-devops-helper:development || exit 0
- name: Build docker image - name: Build docker image
run: | run: |
docker build . \ docker build . \
--cache-from gitea.sikorski.cloud/rogersik/docker-admin-helper:development \ --cache-from gitea.sikorski.cloud/rogersik/docker-devops-helper:development \
--file Dockerfile \ --file Dockerfile \
--tag gitea.sikorski.cloud/rogersik/docker-admin-helper:latest --tag gitea.sikorski.cloud/rogersik/docker-devops-helper:latest
- name: Push docker image - name: Push docker image
run: docker push gitea.sikorski.cloud/rogersik/docker-admin-helper --all-tags run: docker push gitea.sikorski.cloud/rogersik/docker-devops-helper --all-tags