diff --git a/.docker/Dockerfile b/.docker/Dockerfile index a80d0ce..f165e18 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -31,6 +31,8 @@ USER gentooligan WORKDIR /workspace +RUN echo "test" > ~/test.txt + ENTRYPOINT ["/entrypoint.sh"] CMD ["/bin/bash"] diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 968bac4..e75802a 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -45,7 +45,7 @@ jobs: if ! git merge-base --is-ancestor $comparison_hash $branch_name >/dev/null 2>&1; then comparison_hash=$(git merge-base origin/$default_branch_name $branch_name) fi - + if ! git diff $comparison_hash ${{ gitea.sha }} --no-patch --exit-code .docker; then build_image=true else @@ -65,8 +65,6 @@ jobs: - name: Set up Docker buildx if: steps.image-changes.outputs.build_image == 'true' uses: docker/setup-buildx-action@v3 - with: - driver-opts: network=runners-net - name: Log in to Github Container Registry if: steps.image-changes.outputs.build_image == 'true'