update dockerfile and add labels to docker file
This commit is contained in:
parent
474716755d
commit
4845408242
@ -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 }}
|
||||
|
||||
|
@ -29,6 +29,10 @@ RUN apk update \
|
||||
&& rm LICENSE \
|
||||
&& rm README.md \
|
||||
&& rm SITES.md \
|
||||
&& rm -rf tests \
|
||||
&& rm sites/**/readme.md \
|
||||
&& rm -rf sites/**/__data__ \
|
||||
&& rm sites/**/**.test.js \
|
||||
&& ln -s /config/channels.xml $(echo "${WORKDIR}/channels.xml") \
|
||||
&& mkdir /public
|
||||
COPY start.sh $WORKDIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user