update github action
Some checks failed
Build docker container / build (push) Has been cancelled

This commit is contained in:
David Claeys 2024-08-01 11:31:50 +02:00
parent 9387669acd
commit 1b22388565

View File

@ -17,10 +17,18 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: git.claeyscloud.com/david/epg-info
tags: |
type=semver,pattern={{raw}}
type=sha
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
ghcr.io/davidclaeysquinones/epg-info:latest
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}