Initial release

This commit is contained in:
TheCaptain989
2020-10-30 11:52:03 -05:00
parent bf014ea22f
commit d48a9fa820
20 changed files with 357 additions and 685 deletions
+12
View File
@@ -6,8 +6,13 @@ jobs:
build:
env:
DOCKERHUB: "linuxserver/mods" #don't modify
<<<<<<< HEAD
BASEIMAGE: "baseimagename" #replace
MODNAME: "modname" #replace
=======
BASEIMAGE: "lidarr" #replace
MODNAME: "flac2mp3" #replace
>>>>>>> 38e21e1... Initial release
runs-on: ubuntu-latest
steps:
@@ -17,7 +22,10 @@ jobs:
id: build
run: |
docker build --no-cache -t ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${{ github.sha }} .
<<<<<<< HEAD
=======
>>>>>>> 38e21e1... Initial release
- name: Push image
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) }}
run: |
@@ -27,4 +35,8 @@ jobs:
echo ${{ secrets.DOCKERPASS }} | docker login -u ${{ secrets.DOCKERUSER }} --password-stdin
# Push all of the tags
docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${{ github.sha }}
<<<<<<< HEAD
docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}
=======
docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}
>>>>>>> 38e21e1... Initial release