Create CODEOWNERS #9
Workflow file for this run
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: Build Docker | |
on: | |
push: | |
branches: | |
- main | |
- integration | |
- release-* | |
tags: | |
# YYYYMMDD | |
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*" | |
schedule: | |
- cron: "0 0 * * 1" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Docker BuildKit (buildx) | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Github Container Repo | |
uses: docker/login-action@v2 | |
if: github.event_name != 'pull_request' | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate op-geth docker metadata | |
uses: docker/metadata-action@v4 | |
id: op-geth | |
with: | |
images: ghcr.io/espressosystems/op-espresso-integration/op-geth | |
- name: Build and push op-geth docker | |
uses: docker/build-push-action@v4 | |
with: | |
context: ./ | |
file: Dockerfile | |
platforms: linux/amd64,arm64 | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.op-geth.outputs.tags }} | |
labels: ${{ steps.op-geth.outputs.labels }} |