Skip to content

Commit 19b8059

Browse files
author
f@bi.an
committed
Aktualisiere GitHub-Workflows für Docker- und GHCR-Publikationen: Setze fetch-depth auf 0 und füge no-cache hinzu, um den Build-Prozess zu optimieren.
1 parent c899416 commit 19b8059

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/publish-dockerhub.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
uses: docker/setup-buildx-action@v2 # Updated to v2 for Node 16 compatibility
1818
- name: Checkout
1919
uses: actions/checkout@v3 # Updated to v3 for Node 16 compatibility
20+
with:
21+
fetch-depth: 0
2022
- name: Login to DockerHub
2123
uses: docker/login-action@v2 # Updated to v2 for Node 16 compatibility
2224
with:
@@ -28,3 +30,4 @@ jobs:
2830
context: .
2931
push: true
3032
tags: 0xfab1/0xfab1.net:latest
33+
no-cache: true

.github/workflows/publish-ghcr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
1921

2022
- name: Set up QEMU
2123
uses: docker/setup-qemu-action@v2
@@ -43,3 +45,4 @@ jobs:
4345
push: ${{ github.event_name != 'pull_request' }}
4446
tags: ${{ steps.meta.outputs.tags }}
4547
labels: ${{ steps.meta.outputs.labels }}
48+
no-cache: true

0 commit comments

Comments
 (0)