mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed and improved docker build
This commit is contained in:
parent
325d469ba2
commit
66d76d40dd
1 changed files with 18 additions and 3 deletions
21
.github/workflows/docker_build.yml
vendored
21
.github/workflows/docker_build.yml
vendored
|
@ -6,11 +6,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
branches-ignore:
|
- '!I10n_**'
|
||||||
- 'dependabot/**'
|
|
||||||
- 'I10n_**'
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*.*'
|
||||||
|
- 'v*.*.*-**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
|
@ -33,8 +32,24 @@ jobs:
|
||||||
# Mark the image build from master as latest (as we dont have really releases yet)
|
# Mark the image build from master as latest (as we dont have really releases yet)
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
|
type=edge,branch=master
|
||||||
type=ref,event=branch,
|
type=ref,event=branch,
|
||||||
type=ref,event=tag,
|
type=ref,event=tag,
|
||||||
|
type=schedule
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
type=semver,pattern={{major}}
|
||||||
|
type=ref,event=branch
|
||||||
|
type=ref,event=pr
|
||||||
|
labels: |
|
||||||
|
org.opencontainers.image.source=${{ github.event.repository.clone_url }}
|
||||||
|
org.opencontainers.image.revision=${{ github.sha }}
|
||||||
|
org.opencontainers.image.title=Part-DB
|
||||||
|
org.opencontainers.image.description=Part-DB is a web application for managing electronic components and your inventory.
|
||||||
|
org.opencontainers.image.url=https://github.com/Part-DB/Part-DB-symfony
|
||||||
|
org.opencontainers.image.source=https://github.com/Part-DB/Part-DB-symfony
|
||||||
|
org.opencontainers.image.authors=Jan Böhmer
|
||||||
|
org.opencontainers.licenses=AGPL-3.0-or-later
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue