aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 23:08:33 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 23:08:33 -0500
commit6c36ebc4dccc04dcfe8d0aba5b77690104a15eb0 (patch)
tree10d99f3457469fa3d90255a368bae71b9001c0bb
parentTry removing explicit docker.io (diff)
downloadjellyfin-packaging-6c36ebc4dccc04dcfe8d0aba5b77690104a15eb0.tar.gz
jellyfin-packaging-6c36ebc4dccc04dcfe8d0aba5b77690104a15eb0.tar.bz2
jellyfin-packaging-6c36ebc4dccc04dcfe8d0aba5b77690104a15eb0.zip
Potentially fix environment issues
-rw-r--r--.github/workflows/release-build.yaml15
1 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml
index dc00b35..577ec4a 100644
--- a/.github/workflows/release-build.yaml
+++ b/.github/workflows/release-build.yaml
@@ -27,14 +27,6 @@ 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
@@ -47,8 +39,13 @@ jobs:
./checkout.py ${{ inputs.version }}
- name: "Run builder for Docker containers"
+ env:
+ DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
+ DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
+ GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
+ GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
run: |-
- sudo ./build.py ${{ env.JELLYFIN_VERSION }} docker
+ sudo --preserve-env ./build.py ${{ env.JELLYFIN_VERSION }} docker
# Debian:
# runs-on: ubuntu-22.04
bgstack15