Skip to content

Signing: Settlement signing integration #3268

Signing: Settlement signing integration

Signing: Settlement signing integration #3268

name: Build Push Containers
on:
pull_request:
types:
- labeled
- opened
- synchronize
push:
branches:
- '**'
jobs:
movement-celestia-da-light-node-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-celestia-da-light-node
movement-celestia-da-light-node-manifest:
permissions:
contents: read
packages: write
needs: movement-celestia-da-light-node-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-celestia-da-light-node
movement-celestia-appd-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-celestia-appd
movement-celestia-appd-manifest:
permissions:
contents: read
packages: write
needs: movement-celestia-appd-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-celestia-appd
movement-celestia-bridge-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-celestia-bridge
movement-celestia-bridge-manifest:
permissions:
contents: read
packages: write
needs: movement-celestia-bridge-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-celestia-bridge
movement-full-node-setup-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-full-node-setup
movement-full-node-setup-manifest:
permissions:
contents: read
packages: write
needs: movement-full-node-setup-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-full-node-setup
wait-for-celestia-light-node-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image wait-for-celestia-light-node
wait-for-celestia-light-node-manifest:
permissions:
contents: read
packages: write
needs: wait-for-celestia-light-node-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest wait-for-celestia-light-node
movement-full-node-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-full-node
movement-full-node-manifest:
permissions:
contents: read
packages: write
needs: movement-full-node-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-full-node
movement-faucet-service-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-faucet-service
movement-faucet-service-manifest:
permissions:
contents: read
packages: write
needs: movement-faucet-service-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-faucet-service
movement-tests-e2e-simple-interaction-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-tests-e2e-simple-interaction
movement-tests-e2e-simple-interaction-manifest:
permissions:
contents: read
packages: write
needs: movement-tests-e2e-simple-interaction-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-tests-e2e-simple-interaction
movement-indexer-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-indexer
movement-indexer-manifest:
permissions:
contents: read
packages: write
needs: movement-indexer-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-indexer
movement-tests-e2e-followers-consistent-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-tests-e2e-followers-consistent
movement-tests-e2e-followers-consistent-manifest:
permissions:
contents: read
packages: write
needs: movement-tests-e2e-followers-consistent-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-tests-e2e-followers-consistent
movement-util-build:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image movement-util
movement-util-manifest:
permissions:
contents: read
packages: write
needs: movement-util-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest movement-util
container-checks:
if: github.event.label.name == 'cicd:movement-containers' || github.ref == 'refs/heads/main'
runs-on: buildjet-8vcpu-ubuntu-2204
needs:
- movement-celestia-da-light-node-manifest
- movement-celestia-appd-manifest
- movement-celestia-bridge-manifest
- movement-full-node-setup-manifest
- wait-for-celestia-light-node-manifest
- movement-full-node-manifest
- movement-faucet-service-manifest
- movement-tests-e2e-simple-interaction-manifest
- movement-tests-e2e-followers-consistent-manifest
- movement-util-manifest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Read the commit SHA
id: vars
run: echo "CONTAINER_REV=${{ github.ref }}" >> .env
- name: Display .env file
run: cat .env
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y wget
- name: Install docker-ce-cli
run: |
sudo apt-get install -y docker-ce-cli
- name: Verify Docker Installation
run: |
docker compose version
docker --version
docker version
- name: Run docker-compose local.setup.test
run: |
nix develop --command bash -c "just container-tests"
# run again to test restarts
# nix develop --command bash -c "just container-tests"
### Unchecked containers
bridge-service-build:
# if: github.event.label.name == 'cicd:bridge-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image bridge-service
bridge-service-manifest:
permissions:
contents: read
packages: write
needs: bridge-service-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest bridge-service
bridge-setup-build:
# if: github.event.label.name == 'cicd:bridge-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image bridge-setup
bridge-setup-manifest:
permissions:
contents: read
packages: write
needs: bridge-setup-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest bridge-setup
helios-build:
if: false
# if: github.event.label.name == 'cicd:bridge-containers' || github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write
strategy:
matrix:
architecture: [x86_64, arm64]
runs-on: ${{ matrix.architecture == 'x86_64' && 'buildjet-8vcpu-ubuntu-2204' || 'buildjet-8vcpu-ubuntu-2204-arm' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/build-push-image helios
helios-manifest:
permissions:
contents: read
packages: write
needs: helios-build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub to Avoid Rate Limiting
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Push Docker image movement
run: |
./scripts/movement/manifest helios