Ajout Workflow
parent
8d6f446d2a
commit
0424bb9a51
|
|
@ -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 }}
|
||||
Loading…
Reference in New Issue