Compare commits
No commits in common. "f2b5ee502f5d3960b0cbd57b0b21a00c52b7455b" and "0d5799796abdfe813e6847ada2e7068eb57ddc4a" have entirely different histories.
f2b5ee502f
...
0d5799796a
@ -1,10 +1,12 @@
|
|||||||
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
|
||||||
@ -12,7 +14,10 @@ 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
|
||||||
|
7
.woodpecker.yml
Normal file
7
.woodpecker.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
pipeline:
|
||||||
|
docker:
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: registry.brudi.xyz
|
||||||
|
repo: registry.brudi.xyz/kenobi/node-jellyfin-role-bot
|
||||||
|
tags: latest
|
3
dockerbuild.sh
Executable file
3
dockerbuild.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo $1
|
||||||
|
docker build --tag $1 .
|
2
dockerpush.sh
Normal file
2
dockerpush.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
docker push $1
|
Loading…
Reference in New Issue
Block a user