~sbaildon/transmission

0fe32cc28c799acc5ee24f01fdf2e3e6cfdb553d — Sean Baildon 11 months ago b3334ed
variable transmission version
2 files changed, 5 insertions(+), 1 deletions(-)

M .builds/container.yml
M Containerfile
M .builds/container.yml => .builds/container.yml +3 -0
@@ 5,6 5,7 @@ packages:
environment:
  project: transmission
  registry: registry.b5n.dev
  version: 4.0.1-r1
sources:
  - https://git.sr.ht/~sbaildon/transmission
secrets:


@@ 21,6 22,7 @@ tasks:
  - container: |
      cd ${project}
      sudo buildah build-using-dockerfile \
        --build-arg TRANSMISSION_VERSION=${version} \
        --annotation org.opencontainers.image.revision=${PROJECT_REVISION} \
        --annotation org.opencontainers.image.created=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
        --annotation org.opencontainers.image.source="https://git.sr.ht/~sbaildon/transmission" \


@@ 28,6 30,7 @@ tasks:
        --manifest ${registry}/${project}:${PROJECT_REVISION} \
        --platform=linux/amd64 .
  - push: |
      cat .docker/config.json | sudo tee /run/containers/0/auth.json
      sudo buildah manifest \
        push \
        --all \

M Containerfile => Containerfile +2 -1
@@ 1,3 1,4 @@
FROM alpine:edge
RUN apk add --no-cache transmission-daemon=4.0.1-r1
ARG TRANSMISSION_VERSION
RUN apk add --no-cache transmission-daemon=$TRANSMISSION_VERSION
ENTRYPOINT ["transmission-daemon"]