From 7090578f3211efefa520988f5662f9bd389ee9a9 Mon Sep 17 00:00:00 2001 From: skruecken Date: Sat, 22 Mar 2025 17:26:46 +0100 Subject: [PATCH] .gitea/workflows/build.yaml aktualisiert --- .gitea/workflows/build.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 55e74c7..93d4fb5 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,15 +4,10 @@ on: [push] jobs: Build: runs-on: ubuntu-latest + ontainer: + image: golang:latest + options: --network host steps: - - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - run: echo "The workflow is now ready to test your code on the runner." - - run: apt update - - run: apt install -y net-tools - - run: ifconfig - - run: wget http://gitea:3000 - name: Check out repository code uses: actions/checkout@v4 - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."