aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release-build.yaml
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 22:15:17 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 22:15:17 -0500
commit5d15517d751b33aac1faa63faf4f4e64ea5184bd (patch)
tree7ba81cc2ece2a95fcd177991a22d86107bd7c2ae /.github/workflows/release-build.yaml
parentRework manifest builds and push configuration (diff)
downloadjellyfin-packaging-5d15517d751b33aac1faa63faf4f4e64ea5184bd.tar.gz
jellyfin-packaging-5d15517d751b33aac1faa63faf4f4e64ea5184bd.tar.bz2
jellyfin-packaging-5d15517d751b33aac1faa63faf4f4e64ea5184bd.zip
Revamp workflow to populate new secret envvars
Diffstat (limited to '.github/workflows/release-build.yaml')
-rw-r--r--.github/workflows/release-build.yaml26
1 files changed, 8 insertions, 18 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml
index 88c9b44..dc00b35 100644
--- a/.github/workflows/release-build.yaml
+++ b/.github/workflows/release-build.yaml
@@ -27,6 +27,14 @@ jobs:
echo "JELLYFIN_RELEASE_TYPE=unstable" >> $GITHUB_ENV
fi
+ - name: "Get DockerHub and GHCR secrets"
+ id: dockercreds
+ run: |-
+ echo "DOCKER_USERNAME=${{ secrets.DOCKER_USERNAME }}" >> $GITHUB_ENV
+ echo "DOCKER_TOKEN=${{ secrets.DOCKER_TOKEN }}" >> $GITHUB_ENV
+ echo "GHCR_USERNAME=${{ secrets.GHCR_USERNAME }}" >> $GITHUB_ENV
+ echo "GHCR_TOKEN=${{ secrets.GHCR_TOKEN }}" >> $GITHUB_ENV
+
- name: "Install dependencies"
run: |-
sudo apt-get install --yes python3-git python3-yaml
@@ -42,24 +50,6 @@ jobs:
run: |-
sudo ./build.py ${{ env.JELLYFIN_VERSION }} docker
- - name: "Log in to Docker Hub"
- run: |
- docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
-
- - name: "Push Docker images"
- run: |-
- for arch in amd64 arm64 armhf; do
- docker push jellyfin/jellyfin:${{ env.JELLYFIN_VERSION }}-${arch}
- done
-
-
-# - 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 }}
-
# Debian:
# runs-on: ubuntu-22.04
# strategy:
bgstack15