Skip to content

Commit

Permalink
Merge branch 'conduitxyz:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
eyqs authored Dec 28, 2024
2 parents 0e68a18 + 9aa086e commit 42b53b9
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Docker build CI
run-name: Docker build CI triggered from @${{ github.actor }} of ${{ github.head_ref }}

on:
push:
branches:
- main

permissions:
contents: read
packages: write # Required to push Docker images to ghcr.io

jobs:
docker:
name: Docker build
runs-on: ubuntu-24.04

steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build nitro-node docker
uses: docker/build-push-action@v6
with:
target: nitro-node
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ghcr.io/conduitxyz/plume-nitro:latest

0 comments on commit 42b53b9

Please sign in to comment.