mirror of https://github.com/openwrt/docker.git
Fix targets containing underscores
Signed-off-by: Paul Spooren <mail@aparcar.org>pull/60/head
parent
f56033a6e0
commit
0480cf484c
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
export TARGET="${CI_JOB_NAME##*_}"
|
||||
TARGET=$(echo "$CI_JOB_NAME" | cut -d _ -f 2-)
|
||||
export TARGET="${TARGET:-x86-64}"
|
||||
export BRANCH="${BRANCH:-master}"
|
||||
export DOCKER_IMAGE="${DOCKER_IMAGE:-openwrt-imagebuilder}"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
set -ex
|
||||
|
||||
export TARGET="${CI_JOB_NAME##*_}"
|
||||
TARGET=$(echo "$CI_JOB_NAME" | cut -d _ -f 2-)
|
||||
export TARGET="${TARGET:-x86-64}"
|
||||
export BRANCH="${BRANCH:-master}"
|
||||
export DOCKER_IMAGE="${DOCKER_IMAGE:-openwrt-rootfs}"
|
||||
export DOWNLOAD_FILE="openwrt-*-rootfs.tar.gz"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
export TARGET="${CI_JOB_NAME##*_}"
|
||||
TARGET=$(echo "$CI_JOB_NAME" | cut -d _ -f 2-)
|
||||
export TARGET="${TARGET:-x86-64}"
|
||||
export BRANCH="${BRANCH:-master}"
|
||||
export DOCKER_IMAGE="${DOCKER_IMAGE:-openwrt-sdk}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue