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
3279c7b2
Unverified
Commit
3279c7b2
authored
Dec 07, 2021
by
Ben Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update release workflow for op-exporter
parent
6f610282
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
8 deletions
+38
-8
release.yml
.github/workflows/release.yml
+38
-8
No files found.
.github/workflows/release.yml
View file @
3279c7b2
...
@@ -23,6 +23,7 @@ jobs:
...
@@ -23,6 +23,7 @@ jobs:
proxyd
:
${{ steps.packages.outputs.proxyd }}
proxyd
:
${{ steps.packages.outputs.proxyd }}
rpc-proxy
:
${{ steps.packages.outputs.rpc-proxy }}
rpc-proxy
:
${{ steps.packages.outputs.rpc-proxy }}
hardhat-node
:
${{ steps.packages.outputs.hardhat-node }}
hardhat-node
:
${{ steps.packages.outputs.hardhat-node }}
op-exporter
:
${{ steps.packages.outputs.op-exporter }}
steps
:
steps
:
-
name
:
Checkout Repo
-
name
:
Checkout Repo
...
@@ -98,14 +99,6 @@ jobs:
...
@@ -98,14 +99,6 @@ jobs:
push
:
true
push
:
true
tags
:
ethereumoptimism/l2geth:${{ needs.release.outputs.l2geth }},ethereumoptimism/l2geth:latest
tags
:
ethereumoptimism/l2geth:${{ needs.release.outputs.l2geth }},ethereumoptimism/l2geth:latest
-
name
:
Publish op_exporter
uses
:
docker/build-push-action@v2
with
:
context
:
.
file
:
./ops/docker/Dockerfile.op_exporter
push
:
true
tags
:
ethereumoptimism/op_exporter:${{ needs.release.outputs.l2geth }}
-
name
:
Publish rpc-proxy
-
name
:
Publish rpc-proxy
uses
:
docker/build-push-action@v2
uses
:
docker/build-push-action@v2
with
:
with
:
...
@@ -203,6 +196,43 @@ jobs:
...
@@ -203,6 +196,43 @@ jobs:
GITCOMMIT=${{ steps.build_args.outputs.GITCOMMIT }}
GITCOMMIT=${{ steps.build_args.outputs.GITCOMMIT }}
GITVERSION=${{ steps.build_args.outputs.GITVERSION }}
GITVERSION=${{ steps.build_args.outputs.GITVERSION }}
op-exporter
:
name
:
Publish op-exporter Version ${{ needs.release.outputs.canary-docker-tag }}
needs
:
release
if
:
needs.release.outputs.op-exporter != ''
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 build args
id
:
build_args
run
:
|
echo ::set-output name=GITDATE::"$(date +%d-%m-%Y)"
echo ::set-output name=GITVERSION::$(jq -r .version ./go/op-exporter/package.json)
echo ::set-output name=GITCOMMIT::"$GITHUB_SHA"
-
name
:
Build and push
uses
:
docker/build-push-action@v2
with
:
context
:
.
file
:
./ops/docker/Dockerfile.op-exporter
push
:
true
tags
:
ethereumoptimism/op-exporter:${{ needs.canary-publish.outputs.op-exporter }}
build-args
:
|
GITDATE=${{ steps.build_args.outputs.GITDATE }}
GITCOMMIT=${{ steps.build_args.outputs.GITCOMMIT }}
GITVERSION=${{ steps.build_args.outputs.GITVERSION }}
rpc-proxy
:
rpc-proxy
:
name
:
Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
name
:
Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
needs
:
release
needs
:
release
...
...
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