aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release-build.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-build.yaml')
-rw-r--r--.github/workflows/release-build.yaml28
1 files changed, 13 insertions, 15 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml
index 95960fa..67b2f37 100644
--- a/.github/workflows/release-build.yaml
+++ b/.github/workflows/release-build.yaml
@@ -36,25 +36,23 @@ jobs:
run: |-
./checkout.py ${{ inputs.version }}
+ - name: "Log in to Docker Hub"
+ uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+
+ - name: "Log in to the GHCR Container registry"
+ uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
+ with:
+ registry: ghcr.io
+ username: ${{ secrets.GHCR_USERNAME }}
+ password: ${{ secrets.GHCR_TOKEN }}
+
- name: "Run builder for Docker containers"
run: |-
sudo ./build.py ${{ env.JELLYFIN_VERSION }} docker
-# - name: "Push containers and manifests to DockerHub"
-# uses: appleboy/ssh-action@v1.0.3
-# with:
-# host: "${{ secrets.REPO_HOST }}"
-# username: "${{ secrets.REPO_USER }}"
-# key: "${{ secrets.REPO_KEY }}"
-# debug: false
-# script_stop: true
-# script: |
-# sudo mkdir -p /srv/repository/mirror/releases/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }}
-# sudo mv -t /srv/repository/mirror/releases/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }}/ /srv/incoming/${{ env.JELLYFIN_VERSION }}/debian/${{ matrix.arch }}/${{ matrix.release }}/*
-# if [[ ${{ inputs.version }} != "master" ]]; then
-# sudo ln -s /srv/repository/mirror/releases/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/mirror/releases/server/debian/latest-server
-# fi
-
Debian:
runs-on: ubuntu-22.04
strategy:
bgstack15