Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TouHou.FM
Radio Go
Playlist
Commits
1e4b3915
Commit
1e4b3915
authored
Sep 16, 2020
by
Daniel Sonck
Browse files
Merge branch 'feature/gitlab-ci' into 'develop'
Add .go folder as /go volume See merge request
!2
parents
cd3df1fb
17a730c5
Pipeline
#93
passed with stage
in 1 minute and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build-docker.sh
View file @
1e4b3915
...
...
@@ -34,7 +34,7 @@ buildah copy "${C}" "${PWD}/"internal/ ./internal/ || on_fail
buildah copy
"
${
C
}
"
"
${
PWD
}
/"
*
.do ./
||
on_fail
buildah copy
"
${
C
}
"
"
${
PWD
}
/playlist.version.auto.tfvars"
./
||
on_fail
buildah run
--volume
"
${
PWD
}
/.redo:
${
BUILD_DIR
}
/.redo"
--volume
"
${
PWD
}
/target:
${
BUILD_DIR
}
/target"
--
"
${
C
}
"
redo all
||
on_fail
buildah run
--volume
"
${
PWD
}
/.go:/go"
--volume
"
${
PWD
}
/.redo:
${
BUILD_DIR
}
/.redo"
--volume
"
${
PWD
}
/target:
${
BUILD_DIR
}
/target"
--
"
${
C
}
"
redo all
||
on_fail
buildah
rm
"
${
C
}
"
...
...
@@ -43,4 +43,4 @@ buildah copy "${C}" "${PWD}/target/output/playlist" /playlist || on_fail
buildah config
--port
2001
--entrypoint
'["/playlist"]'
--cmd
'start --config /config/playlist.yml'
"
${
C
}
"
buildah commit
"
${
C
}
"
"
$1
/thfmr/playlist:
$VERSION
"
||
on_fail
buildah push
"
$1
/thfmr/playlist:
$VERSION
"
"docker://
$1
/thfmr/playlist:
$VERSION
"
buildah
rm
"
${
C
}
"
\ No newline at end of file
buildah
rm
"
${
C
}
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment