diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be94070..9d1f805 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,6 +97,19 @@ jobs: sep-tags: " " sep-annotations: " " + # Hinzufügen vor dem "Build Image" Schritt: + - name: Cache buildah layers + uses: actions/cache@v4 + with: + path: | + /var/lib/containers/storage/overlay + ~/.cache/buildah + /tmp/.buildah-cache + key: ${{ runner.os }}-${{ github.workflow }}-${{ hashFiles('Containerfile') }}-${{ github.ref }} + restore-keys: | + ${{ runner.os }}-${{ github.workflow }}-${{ hashFiles('Containerfile') }}- + + - name: Build Image id: build_image uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2