diff --git a/.github/workflows/build-beta.yml b/.github/workflows/build-beta.yml index 9f1217f..6da67c9 100644 --- a/.github/workflows/build-beta.yml +++ b/.github/workflows/build-beta.yml @@ -45,3 +45,5 @@ jobs: soupbowl/opensimulator:${{ matrix.tag }}, ghcr.io/soup-bowl/opensimulator-docker:${{ matrix.tag }} platforms: linux/amd64,linux/arm64 + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/beta/source/Dockerfile b/beta/source/Dockerfile index 108b213..e228ec6 100644 --- a/beta/source/Dockerfile +++ b/beta/source/Dockerfile @@ -1,6 +1,8 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 as build -RUN git clone git://opensimulator.org/git/opensim /app +# Cache Bust to avoid caching skipping the latest commit +ADD https://api.github.com/repos/opensim/opensim/git/refs/heads/dotnet6 version.json +RUN git clone https://github.com/opensim/opensim.git /app WORKDIR /app RUN git checkout dotnet6