From e47eddf8c09c4cf8a8be0cd969db97695f103fab Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 3 Oct 2023 19:42:17 +0900 Subject: [PATCH] Test --- .forgejo/actions/builder/Dockerfile | 2 ++ .forgejo/actions/docker/Dockerfile | 2 -- .forgejo/actions/nixos-docker/Dockerfile | 2 -- .forgejo/workflows/build-iso.yml | 9 +++++++-- 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .forgejo/actions/builder/Dockerfile delete mode 100644 .forgejo/actions/docker/Dockerfile delete mode 100644 .forgejo/actions/nixos-docker/Dockerfile diff --git a/.forgejo/actions/builder/Dockerfile b/.forgejo/actions/builder/Dockerfile new file mode 100644 index 00000000..8afc2536 --- /dev/null +++ b/.forgejo/actions/builder/Dockerfile @@ -0,0 +1,2 @@ +FROM nixos/nix +ENTRYPOINT [ "/root/.nix-profile/bin/sleep", "10000" ] \ No newline at end of file diff --git a/.forgejo/actions/docker/Dockerfile b/.forgejo/actions/docker/Dockerfile deleted file mode 100644 index 3cb52918..00000000 --- a/.forgejo/actions/docker/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -FROM ubuntu -RUN echo "Hello from ubuntu" \ No newline at end of file diff --git a/.forgejo/actions/nixos-docker/Dockerfile b/.forgejo/actions/nixos-docker/Dockerfile deleted file mode 100644 index 3cb52918..00000000 --- a/.forgejo/actions/nixos-docker/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -FROM ubuntu -RUN echo "Hello from ubuntu" \ No newline at end of file diff --git a/.forgejo/workflows/build-iso.yml b/.forgejo/workflows/build-iso.yml index eb2af2e5..a29ba5b6 100644 --- a/.forgejo/workflows/build-iso.yml +++ b/.forgejo/workflows/build-iso.yml @@ -19,12 +19,17 @@ jobs: - name: "Directory Structure" run: | ls ${{ github.workspace }}/* - - name: "Node Info" + - name: "Runner: Node Info" + run: | + id + uname -a + hostname + - uses: ./.forgejo/actions/builder + - name: "Docker: Node Info" run: | id uname -a hostname - - uses: ./.forgejo/actions/docker - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "This job is now running on a ${{ runner.os }} server."