forked from ethereum-optimism/op-geth
-
Notifications
You must be signed in to change notification settings - Fork 3
27 lines (25 loc) · 1.13 KB
/
docker-publish-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: "[cLabs] Publish Docker Image For Release"
on:
workflow_dispatch:
release:
types: [published] # Trigger the workflow only when a release is published
jobs:
Build-Container-Release:
permissions:
contents: write
actions: read
pull-requests: write
security-events: write
attestations: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
uses: celo-org/reusable-workflows/.github/workflows/[email protected]
with:
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-op-geth-release/providers/github-by-repos
service-account: op-geth-release@blockchaintestsglobaltestnet.iam.gserviceaccount.com
artifact-registry: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth
tags: ${{ (contains(github.event.release.tag_name, 'rc') || contains(github.event.release.tag_name, 'beta')) && github.event.release.tag_name || format('{0},stable,latest', github.event.release.tag_name) }}
context: .
debug_enabled: false