Commit 963500e0 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #5914 from ethereum-optimism/feat/fix-indexer-build

Fix indexer release action
parents eb48e051 9382998d
......@@ -1533,7 +1533,7 @@ workflows:
type: approval
filters:
tags:
only: /^(fault-detector|proxyd|op-[a-z0-9\-]*)\/v.*/
only: /^(fault-detector|proxyd|indexer|op-[a-z0-9\-]*)\/v.*/
branches:
ignore: /.*/
- docker-release:
......@@ -1647,6 +1647,21 @@ workflows:
- oplabs-gcr-release
requires:
- hold
- docker-release:
name: indexer-docker-release
filters:
tags:
only: /^indexer\/v.*/
branches:
ignore: /.*/
docker_file: indexer/Dockerfile
docker_name: indexer
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context: .
context:
- oplabs-gcr-release
requires:
- hold
release-ci-builder:
jobs:
- docker-publish:
......
......@@ -6,7 +6,7 @@ DOCKER_REPO=$1
GIT_TAG=$2
GIT_SHA=$3
IMAGE_NAME=$(echo "$GIT_TAG" | grep -Eow '^(fault-detector|proxyd|op-[a-z0-9\-]*)' || true)
IMAGE_NAME=$(echo "$GIT_TAG" | grep -Eow '^(fault-detector|proxyd|indexer|op-[a-z0-9\-]*)' || true)
if [ -z "$IMAGE_NAME" ]; then
echo "image name could not be parsed from git tag '$GIT_TAG'"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment