Skip to content

Commit

Permalink
Potentially fix environment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaboniface committed Mar 4, 2024
1 parent 2d1c1e2 commit 6c36ebc
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6c36ebc

Please sign in to comment.