refactor(share): use sync.Once instead of mutex for init (#3625) #1143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build & Publish | |
# Trigger on all push events, new semantic version tags, and all PRs | |
on: | |
merge_group: | |
push: | |
branches: | |
- "main" | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" | |
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" | |
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" | |
pull_request: | |
jobs: | |
docker-security-build: | |
permissions: | |
contents: write | |
packages: write | |
uses: celestiaorg/.github/.github/workflows/[email protected] # yamllint disable-line rule:line-length | |
with: | |
dockerfile: Dockerfile | |
secrets: inherit |