diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-03-03 21:37:59 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-03-03 21:37:59 -0500 |
commit | bfaa958e96f98d0814686af354563bb3d5843d91 (patch) | |
tree | 1d7ffb65716a50cf84b8ea7ee6a0dd03e9b7b958 /.github/workflows | |
parent | Disable building and pushing (diff) | |
download | jellyfin-packaging-bfaa958e96f98d0814686af354563bb3d5843d91.tar.gz jellyfin-packaging-bfaa958e96f98d0814686af354563bb3d5843d91.tar.bz2 jellyfin-packaging-bfaa958e96f98d0814686af354563bb3d5843d91.zip |
Attempt to run docker push manually
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release-build.yaml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 267dc18..88c9b44 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -38,12 +38,20 @@ jobs: run: |- ./checkout.py ${{ inputs.version }} + - name: "Run builder for Docker containers" + run: |- + sudo ./build.py ${{ env.JELLYFIN_VERSION }} docker + - name: "Log in to Docker Hub" - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 - with: - registry: docker.io - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} + 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 @@ -52,10 +60,6 @@ jobs: # username: ${{ secrets.GHCR_USERNAME }} # password: ${{ secrets.GHCR_TOKEN }} - - name: "Run builder for Docker containers" - run: |- - sudo ./build.py ${{ env.JELLYFIN_VERSION }} docker - # Debian: # runs-on: ubuntu-22.04 # strategy: |