From be534c78a520c84e4d69629cebc52ad6ff82a9b9 Mon Sep 17 00:00:00 2001 From: omicron Date: Sun, 30 Mar 2025 21:21:43 +0000 Subject: [PATCH] Update .gitea/workflows/demo.yaml --- .gitea/workflows/demo.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index a3a8687..ccb2a76 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,31 +1,31 @@ -name: Gitea Actions Demo with Alpine Container -run-name: ${{ gitea.actor }} is testing Alpine container in Gitea Actions 🏔️ +name: Gitea Actions Demo with Node Alpine Container +run-name: ${{ gitea.actor }} is testing container in Gitea Actions 🏔️ on: [push] jobs: - Explore-Gitea-Actions-Alpine: + Explore-Gitea-Actions-Container: runs-on: ubuntu-latest container: - image: alpine:3.19 + image: node:18-alpine steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🏔️ This job is now running inside an Alpine Linux container!" - - name: Install essential tools + - run: echo "🏔️ This job is now running inside a Node.js Alpine container!" + - name: Install git run: | - apk add --no-cache git curl bash + apk add --no-cache git - name: Check out repository code uses: actions/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Prove we're in Alpine container + - name: Prove we're in Node Alpine container run: | - echo "📦 Alpine Container evidence:" + echo "📦 Node Alpine Container evidence:" + echo "---------------------" + echo "Node.js version:" + node --version echo "---------------------" echo "Alpine version:" cat /etc/alpine-release echo "---------------------" - echo "Package manager:" - which apk - echo "---------------------" echo "Container environment:" uname -a echo "---------------------"