Move to UV and Docker
All checks were successful
Build and push Docker image / build (push) Successful in 1m39s
All checks were successful
Build and push Docker image / build (push) Successful in 1m39s
This commit is contained in:
parent
08732b6ad4
commit
2c0e7b7699
7 changed files with 236 additions and 4 deletions
27
.forgejo/workflows/build.yaml
Normal file
27
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Build and push Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: code.edgarpierre.fr
|
||||
username: ${{ vars.DOCKER_PUSH_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PUSH_PASSWORD }}
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}
|
Loading…
Add table
Add a link
Reference in a new issue