Browse Source

Docker rebuild.sh: Back to bash

POSIX shell handling of arrays is horrible. Let's install bash instead.
Danilo Bargen 6 years ago
parent
commit
3d08fe2bca
2 changed files with 4 additions and 3 deletions
  1. 3 2
      .circleci/config.yml
  2. 1 1
      docker/rebuild.sh

+ 3 - 2
.circleci/config.yml

@@ -91,7 +91,8 @@ jobs:
     steps:
       - checkout
       - setup_remote_docker
-      - run: /bin/sh docker/rebuild.sh
+      - run: apk update && apk add bash
+      - run: /bin/bash docker/rebuild.sh
 
 
 workflows:
@@ -118,7 +119,7 @@ workflows:
   weekly:
     triggers:
       - schedule:
-          cron: "58 14 * * 4"
+          cron: "26 15 * * 4"
           filters:
             branches:
               only:

+ 1 - 1
docker/rebuild.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Rebuild and publish all docker images.
 # Use the --dry-run argument to prevent the actual build process from running.