Skip to content

feat: add manual ci for querying grant role events #797

feat: add manual ci for querying grant role events

feat: add manual ci for querying grant role events #797

Workflow file for this run

name: Build and publish Docker image
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-fuel-bridge:
name: Build and Push fuel-bridge Image
runs-on: buildjet-4vcpu-ubuntu-2204
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push multi-arch fuel-bridge image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/fuellabs/fuel-bridge:latest
file: docker/l1-chain/Dockerfile
platforms: linux/amd64,linux/arm64
build-fuel-bridge-full:
name: Build and Push fuel-bridge-full Image
runs-on: buildjet-4vcpu-ubuntu-2204
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push multi-arch fuel-bridge-full image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/fuellabs/fuel-bridge-full:latest
file: docker/full-env/Dockerfile
platforms: linux/amd64,linux/arm64