mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-02 06:13:07 +00:00
feat: Publish indexer_service and explorer_service docker images
This commit is contained in:
parent
c753373434
commit
843ca0b00d
15
.github/workflows/publish_image.yml
vendored
15
.github/workflows/publish_image.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Publish Sequencer Runner Image
|
name: Publish Docker Images
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -6,6 +6,15 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- name: sequencer_runner
|
||||||
|
dockerfile: ./sequencer_runner/Dockerfile
|
||||||
|
- name: indexer_service
|
||||||
|
dockerfile: ./indexer/service/Dockerfile
|
||||||
|
- name: explorer_service
|
||||||
|
dockerfile: ./explorer_service/Dockerfile
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
@ -23,7 +32,7 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ secrets.DOCKER_REGISTRY }}/${{ github.repository }}/sequencer_runner
|
images: ${{ secrets.DOCKER_REGISTRY }}/${{ github.repository }}/${{ matrix.name }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
@ -36,7 +45,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./sequencer_runner/Dockerfile
|
file: ${{ matrix.dockerfile }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user