Ajout Workflow

main
stef 2025-12-12 14:31:39 +01:00
parent 8d6f446d2a
commit 0424bb9a51
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
jobs:
build-and-push-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: gitea.bv.stef.lan
username: stef
password: stef
- name: Build and push image
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ gitea.bv.stef.lan }}/${{ env.RESULT_IMAGE_NAME }}:${{ gitea.ref }}