Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
go-ipfs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
ipfs
go-ipfs
Commits
4a8badf9
Commit
4a8badf9
authored
1 year ago
by
Henrique Dias
Browse files
Options
Downloads
Patches
Plain Diff
Revert "build,docker: add support for riscv64"
This reverts commit
765cffe6
.
parent
a8a6bbe9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/docker-image.yml
+1
-14
1 addition, 14 deletions
.github/workflows/docker-image.yml
mk/util.mk
+0
-1
0 additions, 1 deletion
mk/util.mk
with
1 addition
and
15 deletions
.github/workflows/docker-image.yml
+
1
−
14
View file @
4a8badf9
...
...
@@ -107,31 +107,18 @@ jobs:
cache-from
:
type=local,src=/tmp/.buildx-cache
cache-to
:
type=local,dest=/tmp/.buildx-cache-new
-
name
:
Build Docker image (linux/riscv64)
uses
:
docker/build-push-action@v4
with
:
platforms
:
linux/riscv64
context
:
.
push
:
false
load
:
true
file
:
./Dockerfile
tags
:
${{ env.IMAGE_NAME }}:linux-riscv64
cache-from
:
type=local,src=/tmp/.buildx-cache
cache-to
:
type=local,dest=/tmp/.buildx-cache-new
# We test all the images on amd64 host here. This uses QEMU to emulate
# the other platforms.
-
run
:
docker run --rm $IMAGE_NAME:linux-amd64 --version
-
run
:
docker run --rm $IMAGE_NAME:linux-arm-v7 --version
-
run
:
docker run --rm $IMAGE_NAME:linux-arm64-v8 --version
-
run
:
docker run --rm $IMAGE_NAME:linux-riscv64 --version
# This will only push the previously built images.
-
if
:
github.event_name != 'workflow_dispatch' || github.event.inputs.push == 'true'
name
:
Publish to Docker Hub
uses
:
docker/build-push-action@v4
with
:
platforms
:
linux/amd64,linux/arm/v7,linux/arm64/v8
,linux/riscv64
platforms
:
linux/amd64,linux/arm/v7,linux/arm64/v8
context
:
.
push
:
true
file
:
./Dockerfile
...
...
This diff is collapsed.
Click to expand it.
mk/util.mk
+
0
−
1
View file @
4a8badf9
...
...
@@ -16,7 +16,6 @@ SUPPORTED_PLATFORMS += linux-arm
SUPPORTED_PLATFORMS
+=
linux-arm64
SUPPORTED_PLATFORMS
+=
linux-386
SUPPORTED_PLATFORMS
+=
linux-amd64
SUPPORTED_PLATFORMS
+=
linux-riscv64
SUPPORTED_PLATFORMS
+=
darwin-amd64
ifeq
($(shell bin/check_go_version "1.16.0" 2>/dev/null; echo $$?),0)
...
...
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