Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
66901881
Commit
66901881
authored
Feb 25, 2023
by
Matthew Slipper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Add tag versions to Docker binaries
parent
d4d8d970
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
config.yml
.circleci/config.yml
+6
-0
Dockerfile
op-batcher/Dockerfile
+3
-1
Dockerfile
op-node/Dockerfile
+3
-1
Dockerfile
op-proposer/Dockerfile
+3
-1
No files found.
.circleci/config.yml
View file @
66901881
...
@@ -228,6 +228,7 @@ jobs:
...
@@ -228,6 +228,7 @@ jobs:
docker build \
docker build \
$(echo -ne $DOCKER_TAGS | tr '\n' ' ') \
$(echo -ne $DOCKER_TAGS | tr '\n' ' ') \
-f <<parameters.docker_file>> \
-f <<parameters.docker_file>> \
--build-arg VERSION=$CIRCLE_TAG \
<<parameters.docker_context>>
<<parameters.docker_context>>
-
run
:
-
run
:
name
:
Configure Docker
name
:
Configure Docker
...
@@ -1152,6 +1153,11 @@ workflows:
...
@@ -1152,6 +1153,11 @@ workflows:
-
hold
:
-
hold
:
type
:
approval
type
:
approval
context
:
oplabs-gcr-release
context
:
oplabs-gcr-release
filters
:
tags
:
only
:
/^op-node\/v.*/
branches
:
ignore
:
/.*/
-
docker-release
:
-
docker-release
:
name
:
op-node-docker-release
name
:
op-node-docker-release
filters
:
filters
:
...
...
op-batcher/Dockerfile
View file @
66901881
FROM
golang:1.18.0-alpine3.15 as builder
FROM
golang:1.18.0-alpine3.15 as builder
ARG
VERSION=v0.0.0
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-batcher with the shared go.mod & go.sum files
# build op-batcher with the shared go.mod & go.sum files
...
@@ -15,7 +17,7 @@ COPY ./.git /app/.git
...
@@ -15,7 +17,7 @@ COPY ./.git /app/.git
WORKDIR
/app/op-batcher
WORKDIR
/app/op-batcher
RUN
make op-batcher
RUN
make op-batcher
VERSION
=
"
$VERSION
"
FROM
alpine:3.15
FROM
alpine:3.15
...
...
op-node/Dockerfile
View file @
66901881
FROM
golang:1.18.0-alpine3.15 as builder
FROM
golang:1.18.0-alpine3.15 as builder
ARG
VERSION=v0.0.0
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-node with the shared go.mod & go.sum files
# build op-node with the shared go.mod & go.sum files
...
@@ -13,7 +15,7 @@ COPY ./.git /app/.git
...
@@ -13,7 +15,7 @@ COPY ./.git /app/.git
WORKDIR
/app/op-node
WORKDIR
/app/op-node
RUN
make op-node
RUN
make op-node
VERSION
=
"
$VERSION
"
FROM
alpine:3.15
FROM
alpine:3.15
...
...
op-proposer/Dockerfile
View file @
66901881
FROM
golang:1.18.0-alpine3.15 as builder
FROM
golang:1.18.0-alpine3.15 as builder
ARG
VERSION=v0.0.0
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-proposer with the shared go.mod & go.sum files
# build op-proposer with the shared go.mod & go.sum files
...
@@ -14,7 +16,7 @@ COPY ./.git /app/.git
...
@@ -14,7 +16,7 @@ COPY ./.git /app/.git
WORKDIR
/app/op-proposer
WORKDIR
/app/op-proposer
RUN
make op-proposer
RUN
make op-proposer
VERSION
=
"
$VERSION
"
FROM
alpine:3.15
FROM
alpine:3.15
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment