From f9f511ebf45ed374851aebc939379f613435c202 Mon Sep 17 00:00:00 2001 From: Jack Back Date: Tue, 26 Mar 2024 17:37:23 +0100 Subject: [PATCH] balls --- .gitea/workflows/link.yml | 19 +++++++------------ test.sh | 3 +++ 2 files changed, 10 insertions(+), 12 deletions(-) create mode 100755 test.sh diff --git a/.gitea/workflows/link.yml b/.gitea/workflows/link.yml index 1e0a099..edd6e8d 100644 --- a/.gitea/workflows/link.yml +++ b/.gitea/workflows/link.yml @@ -16,16 +16,11 @@ jobs: # NOTE - If LFS ever starts getting used for storing zones, switch this to true! lfs: false - - name: Install Docker - run: | - curl -fsSL https://get.docker.com -o get-docker.sh - sh get-docker.sh - - - name: Setup OAT - uses: diamante0018/setup-oat@main + - name: Test Docker + uses: addnab/docker-run-action@v3 with: - version: "0.10.0" - - - name: Link assets - run: | - docker run -it --rm -v ${{ gitea.workspace }}:/workspace --workdir /workspace ubuntu:noble sh -c "ls -al" + image: ubuntu:noble + options: --volumes-from=${{ env.JOB_CONTAINER_NAME }} + run: | + cd ${{ github.workspace }} + ./test.sh diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..ca3b9f0 --- /dev/null +++ b/test.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "hello"