use llm generated content
This commit is contained in:
28
.gitea/workflows/docker-publish.yml
Normal file
28
.gitea/workflows/docker-publish.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: 🚀 Build & Push tofu-node Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch: # ✅ permet de déclencher manuellement depuis l'UI
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Login to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.arcodange.duckdns.org
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGES_TOKEN }}
|
||||
|
||||
- name: 🐳 Build and Push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
gitea.arcodange.duckdns.org/${{ github.repository }}:latest
|
||||
gitea.arcodange.duckdns.org/${{ github.repository }}:${{ github.sha }}
|
||||
24
.gitea/workflows/test-container.yml
Normal file
24
.gitea/workflows/test-container.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: 🧪 Test tofu-node container
|
||||
|
||||
on:
|
||||
workflow_dispatch: # ✅ déclenchable manuellement depuis Gitea UI
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitea.arcodange.duckdns.org/arcodange-org/docker.tofu:latest
|
||||
|
||||
steps:
|
||||
- name: ✅ Test Node
|
||||
run: node -v
|
||||
|
||||
- name: ✅ Test tofu
|
||||
run: tofu --version
|
||||
|
||||
- name: ✅ Test git, ssh, jq, yq
|
||||
run: |
|
||||
git --version
|
||||
ssh -V
|
||||
jq --version
|
||||
yq --version
|
||||
Reference in New Issue
Block a user