]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update docker build.
authorCharles <charles@zyndex.co.uk>
Wed, 5 May 2021 12:11:53 +0000 (13:11 +0100)
committerCharles <charles@zyndex.co.uk>
Wed, 5 May 2021 12:11:53 +0000 (13:11 +0100)
.github/workflows/docker-build-master.yaml

index 0616366757ea0fadcf81d148ad8fd7043e18c38d..b16c5812bc6043ea7be84997feea34ec2e2c8337 100644 (file)
@@ -5,7 +5,7 @@ name: Build and push docker image based on master branch.
 
 on:
   push:
-    branches: master
+    branches: [ master, development ]
  
 jobs:
   main:
@@ -29,4 +29,4 @@ jobs:
           file: ./docker/Dockerfile
           platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm64,linux/arm/v7
           push: true
-          tags: registry.nova.do/shairport-sync:unstable
\ No newline at end of file
+          tags: registry.nova.do/shairport-sync:unstable-${GITHUB_REF##*/} # ${GITHUB_REF##*/} gets the current branch name.
\ No newline at end of file