good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
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
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
github
maticnetwork
bor
Commits
a794994f
Commit
a794994f
authored
Feb 2, 2022
by
Victor Castell
Browse files
Options
Downloads
Patches
Plain Diff
Do not build classic docker image
parent
4e746714
Branches
Branches containing commit
Tags
v0.3.0-beta1
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/dockerimage.yml
+0
-29
0 additions, 29 deletions
.github/workflows/dockerimage.yml
Dockerfile.classic
+0
-18
0 additions, 18 deletions
Dockerfile.classic
with
0 additions
and
47 deletions
.github/workflows/dockerimage.yml
deleted
100644 → 0
+
0
−
29
View file @
4e746714
name
:
Bor Docker Image CI
on
:
push
:
branches-ignore
:
-
'
**'
tags
:
-
'
v*.*.*'
# to be used by fork patch-releases ^^
-
'
v*.*.*-*'
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Build the Bor Docker image
env
:
DOCKERHUB
:
${{ secrets.DOCKERHUB }}
DOCKERHUB_KEY
:
${{ secrets.DOCKERHUB_KEY }}
run
:
|
ls -l
echo "Docker login"
docker login -u $DOCKERHUB -p $DOCKERHUB_KEY
echo "running build"
docker build -f Dockerfile.classic -t maticnetwork/bor:${GITHUB_REF/refs\/tags\//} .
echo "pushing image"
docker push maticnetwork/bor:${GITHUB_REF/refs\/tags\//}
echo "DONE!"
This diff is collapsed.
Click to expand it.
Dockerfile.classic
deleted
100644 → 0
+
0
−
18
View file @
4e746714
# Build Geth in a stock Go builder container
FROM golang:1.17-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git bash
ADD . /bor
RUN cd /bor && make bor-all
CMD ["/bin/bash"]
# Pull Bor into a second stage deploy alpine container
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /bor/build/bin/bor /usr/local/bin/
COPY --from=builder /bor/build/bin/bootnode /usr/local/bin/
EXPOSE 8545 8546 8547 30303 30303/udp
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