Merge branch 'main' of gargoton:image/calibre-web
merge with local gitea version
This commit is contained in:
32
.gitea/workflows/build-push.yaml
Normal file
32
.gitea/workflows/build-push.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Changez cela si votre branche principale a un autre nom
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Log in to Gitea Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gargoton.petite-maison-orange.fr
|
||||
username: eric # Assurez-vous d'ajouter ce secret dans Gitea
|
||||
password: ${{ secrets.GARGOTONTOKEN }} # Assurez-vous d'ajouter ce secret dans Gitea
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -t gargoton.petite-maison-orange.fr/image/calibre-web:latest .
|
||||
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker push gargoton.petite-maison-orange.fr/image/calibre-web:latest
|
||||
19
.gitea/workflows/demo.yaml
Normal file
19
.gitea/workflows/demo.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
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 }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
15
.woodpecker/build-image.yaml
Normal file
15
.woodpecker/build-image.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
username: kevinbacon
|
||||
password:
|
||||
from_secret: eric_token
|
||||
registry: gargoton.petite-maison-orange.fr
|
||||
repo: gargoton.petite-maison-orange.fr/image/calibre-web
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM debian:trixie-slim AS build
|
||||
|
||||
# set version label
|
||||
|
||||
Reference in New Issue
Block a user