Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Trigus42 committed Oct 1, 2024
1 parent f0b628f commit 3febec1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ on:
- 'build/**'
- 'Dockerfile'
workflow_dispatch:

inputs:
push:
description: 'Push image to registry'
required: false
default: false
type: boolean

env:
# github.repository as <account>/<repo>
Expand Down Expand Up @@ -99,7 +104,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name != 'pull_request' && inputs.push }}
build-args: |
"SOURCE_COMMIT=${{ env.SHORT_SHA }}"
"QBITTORRENT_TAG"="${{ env.RELEASE_TAG }}"
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ RUN \
tar -C / -Jxpf /tmp/s6_overlay.tar.xz && \
tar -C / -Jxpf /tmp/s6_overlay-noarch.tar.xz

# Temporary workaround for cache invalidation issue
ARG QBITTORRENT_TAG
RUN echo "$QBITTORRENT_TAG" > /dev/null

ARG QBITTORRENT_TAG
RUN \
# Install qbittorrent-nox
Expand Down

0 comments on commit 3febec1

Please sign in to comment.