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
a83a7336
Unverified
Commit
a83a7336
authored
Nov 01, 2021
by
Mark Tyneway
Committed by
GitHub
Nov 01, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1663 from ethereum-optimism/fix/ci-publish-proxy
fix: ci publish proxy
parents
708c9410
893623c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
63 deletions
+71
-63
blue-games-remember.md
.changeset/blue-games-remember.md
+6
-0
release.yml
.github/workflows/release.yml
+63
-63
ci-versions.js
ops/scripts/ci-versions.js
+2
-0
No files found.
.changeset/blue-games-remember.md
0 → 100644
View file @
a83a7336
---
'
@eth-optimism/proxyd'
:
patch
'
@eth-optimism/rpc-proxy'
:
patch
---
Trigger patch releases for dockerhub
.github/workflows/release.yml
View file @
a83a7336
...
...
@@ -138,6 +138,69 @@ jobs:
push
:
true
tags
:
ethereumoptimism/gas-oracle:${{ needs.release.outputs.gas-oracle }},ethereumoptimism/gas-oracle:latest
proxyd
:
name
:
Publish proxyd Version ${{ needs.release.outputs.proxyd }}
needs
:
release
if
:
needs.release.outputs.proxyd != ''
runs-on
:
ubuntu:latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
-
name
:
Set env
run
:
|
echo "GITDATE=$(date)" >> $GITHUB_ENV"
-
name
:
Build and push
uses
:
docker/build-push-action@v2
with
:
context
:
./go/proxyd
file
:
./Dockerfile
push
:
true
tags
:
ethereumoptimism/proxyd:${{ needs.release.outputs.proxyd }},ethereumoptimism/proxyd:latest
build-args
:
|
GITCOMMIT=$GITHUB_SHA
GITDATE=$GITDATE
rpc-proxy
:
name
:
Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
needs
:
release
if
:
needs.release.outputs.rpc-proxy != ''
runs-on
:
ubuntu:latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
-
name
:
Set env
run
:
|
echo "GITDATE=$(date)" >> $GITHUB_ENV"
-
name
:
Build and push
uses
:
docker/build-push-action@v2
with
:
context
:
.
file
:
./ops/docker/Dockerfile.rpc-proxy
push
:
true
tags
:
ethereumoptimism/rpc-proxy:${{ needs.release.outputs.rpc-proxy }},ethereumoptimism/rpc-proxy:latest
# pushes the base builder image to dockerhub
builder
:
name
:
Prepare the base builder image for the services
...
...
@@ -328,66 +391,3 @@ jobs:
file
:
./ops/docker/Dockerfile.replica-healthcheck
push
:
true
tags
:
ethereumoptimism/replica-healthcheck:${{ needs.builder.outputs.replica-healthcheck }},ethereumoptimism/replica-healthcheck:latest
proxyd
:
name
:
Publish proxyd Version ${{ needs.release.outputs.proxyd }}
needs
:
release
if
:
needs.release.outputs.proxyd != ''
runs-on
:
ubuntu:latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
-
name
:
Set env
run
:
|
echo "GITDATE=$(date)" >> $GITHUB_ENV"
-
name
:
Build and push
uses
:
docker/build-push-action@v2
with
:
context
:
./go/proxyd
file
:
./Dockerfile
push
:
true
tags
:
ethereumoptimism/proxyd:${{ needs.canary-publish.outputs.proxyd }}
build-args
:
|
GITCOMMIT=$GITHUB_SHA
GITDATE=$GITDATE
rpc-proxy
:
name
:
Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
needs
:
release
if
:
needs.release.outputs.rpc-proxy != ''
runs-on
:
ubuntu:latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
-
name
:
Set env
run
:
|
echo "GITDATE=$(date)" >> $GITHUB_ENV"
-
name
:
Build and push
uses
:
docker/build-push-action@v2
with
:
context
:
.
file
:
./ops/docker/Dockerfile.rpc-proxy
push
:
true
tags
:
ethereumoptimism/rpc-proxy:${{ needs.canary-publish.outputs.rpc-proxy }}
ops/scripts/ci-versions.js
View file @
a83a7336
...
...
@@ -12,6 +12,8 @@ data = JSON.parse(data)
const
nonBuilders
=
new
Set
([
'
l2geth
'
,
'
gas-oracle
'
,
'
proxyd
'
,
'
rpc-proxy
'
,
])
builder
=
false
...
...
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