Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
T
tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
uniget-org
tools
Commits
ec59c06e
Commit
ec59c06e
authored
1 year ago
by
Nicholas Dille
Committed by
github-actions[bot]
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix after new name of github release assets
parent
8102c10d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/bin/Dockerfile.template
+2
-17
2 additions, 17 deletions
tools/bin/Dockerfile.template
with
2 additions
and
17 deletions
tools/bin/Dockerfile.template
+
2
−
17
View file @
ec59c06e
...
...
@@ -6,25 +6,10 @@ FROM ghcr.io/uniget-org/tools/base:${ref} AS prepare
ARG name
ARG version
RUN <<EOF
echo "### Setting architecture string for ${TARGETPLATFORM}"
case "${arch}" in
x86_64)
export arch_suffix="${arch}"
;;
aarch64)
export arch_suffix="${alt_arch}"
;;
*)
echo "ERROR: Unsupported architecture ${arch}."
exit 1
;;
esac
echo " Using ${arch_suffix}"
check-github-release-asset "marcosnils/bin" "v${version}" "bin_${version}_Linux_${arch_suffix}"
check-github-release-asset "marcosnils/bin" "v${version}" "bin_${version}_linux_${alt_arch}"
echo "### Downloading bin ${version}"
curl --silent --location --fail --output "${prefix}${target}/bin/bin" \
"https://github.com/marcosnils/bin/releases/download/v${version}/bin_${version}_
L
inux_${a
rch_suffix
}"
"https://github.com/marcosnils/bin/releases/download/v${version}/bin_${version}_
l
inux_${a
lt_arch
}"
chmod +x "${prefix}${target}/bin/bin"
EOF
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment