build: add CI (using Docker) #2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user