diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-06-09 09:43:54 +0300 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-07-01 03:12:03 +0300 |
commit | e76c77d806f4e5e1118cbdaf3a19ae40b3180fb7 (patch) | |
tree | 8e7582ec664342d5080e30fc296a37230ccbdc17 /docker-sdk.sh | |
parent | 6a0584a6d5693b31be25e2917120bd61c1d27c04 (diff) |
ci: refactor IB/SDK targets for DRY
We've already target specified in the CI job name, so just use this
value for TARGET variable instead of duplicating the same value.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'docker-sdk.sh')
-rwxr-xr-x | docker-sdk.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker-sdk.sh b/docker-sdk.sh index 93f75e3..2198044 100755 --- a/docker-sdk.sh +++ b/docker-sdk.sh @@ -2,6 +2,7 @@ set -ex +TARGET="${CI_JOB_NAME//deploy-sdk-/}" export TARGET="${TARGET:-x86-64}" export BRANCH="${BRANCH:-master}" export DOCKER_IMAGE="${DOCKER_IMAGE:-openwrt-sdk}" |