9 lines
171 B
Plaintext
9 lines
171 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
set -x
|
||
|
|
||
|
echo "Setting SOURCE_BRANCH to ${SOURCE_BRANCH}"
|
||
|
|
||
|
sed -i "s@^ENV SOURCE_BRANCH \"master\"@ENV SOURCE_BRANCH \"${SOURCE_BRANCH}\"@g" Dockerfile
|