omicron be534c78a5
All checks were successful
Gitea Actions Demo with Node Alpine Container / Explore-Gitea-Actions-Container (push) Successful in 15s
Update .gitea/workflows/demo.yaml
2025-03-30 21:21:43 +00:00

35 lines
1.3 KiB
YAML

name: Gitea Actions Demo with Node Alpine Container
run-name: ${{ gitea.actor }} is testing container in Gitea Actions 🏔️
on: [push]
jobs:
Explore-Gitea-Actions-Container:
runs-on: ubuntu-latest
container:
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 a Node.js Alpine container!"
- name: Install git
run: |
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 Node Alpine container
run: |
echo "📦 Node Alpine Container evidence:"
echo "---------------------"
echo "Node.js version:"
node --version
echo "---------------------"
echo "Alpine version:"
cat /etc/alpine-release
echo "---------------------"
echo "Container environment:"
uname -a
echo "---------------------"
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."