Update .gitea/workflows/demo.yaml
All checks were successful
Gitea Actions Demo with Node Alpine Container / Explore-Gitea-Actions-Container (push) Successful in 15s
All checks were successful
Gitea Actions Demo with Node Alpine Container / Explore-Gitea-Actions-Container (push) Successful in 15s
This commit is contained in:
parent
4f51ad0b48
commit
be534c78a5
@ -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 "---------------------"
|
||||
|
Loading…
x
Reference in New Issue
Block a user