Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Denisenko <[email protected]>
  • Loading branch information
d2285 committed Dec 9, 2024
1 parent 0f5691b commit 1880676
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions scripts/ci/release-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh -e

apt-get update && apt-get install -y apt-utils libbtrfs-dev file git gcc
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/bin
git config --global url."https://gitlab-ci-token:$PRIVATE_REPO_TOKEN@fox.flant.com/".insteadOf https://fox.flant.com/
git config --global --add safe.directory '*'
2 changes: 1 addition & 1 deletion trdl.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docker_image: registry.deckhouse.io/base_images/golang:1.23.1-bullseye@sha256:a24507d1a36fce86431198a979435dadb187e8d0ce0b5c181f46d6788d84a40f
commands:
- echo $PRIVATE_REPO_TOKEN
- ./scripts/ci/release-build.sh
- task -o group -p build:dist:all version={{ .Tag }}
- cp -a ./dist/{{ .Tag }}/* /result

0 comments on commit 1880676

Please sign in to comment.