diff --git a/.forgejo/build_configs/buildkitd.toml b/.forgejo/build_configs/buildkitd.toml new file mode 100644 index 0000000..b13cd40 --- /dev/null +++ b/.forgejo/build_configs/buildkitd.toml @@ -0,0 +1,2 @@ +[dns] + nameservers=["10.42.10.1","10.42.10.54"] diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 508a65c..903367a 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -20,23 +20,22 @@ jobs: run: apk add --update docker git # - name: Set up QEMU # uses: https://github.com/docker/setup-qemu-action@v3 + - name: Check out the repo + uses: https://github.com/actions/checkout@v4 + - name: Trying To Do My Own Buildkit Config + shell: /bin/ash -e {0} + run: cp ${{ github.workspace }}/.forgejo/build_configs/buildkitd.toml /etc/buildkit/ - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v3 - with: - config-inline: | - [dns] - nameservers=["1.1.1.1","8.8.8.8"] - - name: Print Some Debugging Info - shell: /bin/ash -e {0} - run: cat /tmp/docker-actions*/* + # - name: Print Some Debugging Info + # shell: /bin/ash -e {0} + # run: cat /tmp/docker-actions*/* # - name: Login to docker repo # uses: docker/login-action@v3 # with: # registry: "forgejo.merr.is" # username: ${{ github.actor }} # password: ${{ secrets.actions_token }} - # - name: Check out the repo - # uses: https://github.com/actions/checkout@v4 # - name: Build and push the image # uses: https://github.com/docker/build-push-action@v5 # with: