changement dans les gitea actions
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 28s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 28s
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
|
24
.gitea/workflows/docker_builder.yaml
Normal file
24
.gitea/workflows/docker_builder.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Build and Push Docker Image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Log in to Docker Registry
|
||||
uses: docker/login-action
|
||||
with:
|
||||
registry: registry.prod.resk-u.ch
|
||||
- name: Build and Push Docker image
|
||||
uses: docker/build-push-action
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: registry.prod.resk-u.ch/reskreen:latest
|
||||
|
Reference in New Issue
Block a user