Compare commits
2 Commits
0d5799796a
...
f2b5ee502f
Author | SHA1 | Date | |
---|---|---|---|
f2b5ee502f | |||
749e1c89ab |
@ -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
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
docker:
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
registry: registry.brudi.xyz
|
|
||||||
repo: registry.brudi.xyz/kenobi/node-jellyfin-role-bot
|
|
||||||
tags: latest
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
echo $1
|
|
||||||
docker build --tag $1 .
|
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
docker push $1
|
|
Loading…
Reference in New Issue
Block a user