update dockerfile and add labels to docker file

This commit is contained in:
David Claeys
2024-08-01 09:37:03 +02:00
parent 474716755d
commit 4845408242
2 changed files with 11 additions and 0 deletions

View File

@ -26,6 +26,11 @@ jobs:
registry: git.claeyscloud.com
username: nologin
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
type=semver,pattern={{version}}
- name: Build and push
uses: https://github.com/docker/build-push-action@v5
with:
@ -33,3 +38,5 @@ jobs:
push: true
tags: |
git.claeyscloud.com/david/epg-info
labels: ${{ steps.meta.outputs.labels }}