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 10, 2024
1 parent 52e9d3d commit a5339f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 7 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM registry.deckhouse.io/base_images/golang:1.23.1-bullseye@sha256:a24507d1a36fce86431198a979435dadb187e8d0ce0b5c181f46d6788d84a40f
ARG PRIVATE_REPO_TOKEN
ENV PRIVATE_REPO_TOKEN ${PRIVATE_REPO_TOKEN}
RUN apt-get update && apt-get install -y apt-utils libbtrfs-dev file git gcc
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/bin
RUN git config --global url."https://gitlab-ci-token:[email protected]/".insteadOf https://fox.flant.com/
RUN git config --global --add safe.directory '*'
9 changes: 3 additions & 6 deletions trdl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
docker_image: registry.deckhouse.io/base_images/golang:1.23.1-bullseye@sha256:a24507d1a36fce86431198a979435dadb187e8d0ce0b5c181f46d6788d84a40f
docker_image: golang-d8:1.23.1-local
commands:
- ./scripts/ci/release-build.sh
- export $PRIVATE_REPO_TOKEN
- env
- git config --list
- cat ~/.gitconfig
- task -o group -p build:dist:all version={{ .Tag }}
- cp -a ./dist/{{ .Tag }}/* /result

0 comments on commit a5339f3

Please sign in to comment.