clean up ci yaml

This commit is contained in:
mightypanders 2023-06-14 22:35:51 +02:00
parent 0d5799796a
commit 749e1c89ab

View File

@ -1,12 +1,10 @@
name: Build a docker image for node-jellyfin-role-ot name: Build a docker image for node-jellyfin-role-ot
run-name: ${{ gitea.actor }} is building an image run-name: ${{ gitea.actor }} is building an image
on: [push] on: [push]
env: env:
REGISTRY: gitea.brudi.xyz REGISTRY: gitea.brudi.xyz
IMAGE_NAME: ${{ gitea.repository }} IMAGE_NAME: ${{ gitea.repository }}
USER: ${{ gitea.actor }} USER: ${{ gitea.actor }}
jobs: jobs:
build-docker-image: build-docker-image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -14,10 +12,7 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write packages: write
steps: steps:
- name: Check environment
run: echo "Registry ${{ env.Registry }} Image ${{ env.IMAGE_NAME }} User ${{ env.USER }}"
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Log in to the Container registry - name: Log in to the Container registry