Skip to content

Merge pull request #3 from rpcpool/add_target_group #3

Merge pull request #3 from rpcpool/add_target_group

Merge pull request #3 from rpcpool/add_target_group #3

Workflow file for this run

on:
push:
branches:
- triton
tags:
- 'v*'
name: Build docker image
jobs:
build-docker:
runs-on: ubuntu-latest
name: Build Docker Image
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/blockdaemon/solana-cluster-manager
tags: |
type=sha,event=branch,prefix=
type=raw,value=latest
type=ref,event=tag
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: GITHUB_SHA=${{ github.sha }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}