Skip to content

v1.17.20-jito

v1.17.20-jito #52

Workflow file for this run

name: Build and upload assets
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
output-release:
runs-on: ubuntu-latest
name: Ouput release attributes
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set release ID as output
id: release
run: |
echo "release_url=${{ github.event.release.url }}" >> $GITHUB_OUTPUT
echo "release_name=${{ github.event.release.name }}" >> $GITHUB_OUTPUT
echo "release_id=${{ github.event.release.id }}" >> $GITHUB_OUTPUT
echo "release_upload_url=${{ github.event.release.upload_url }}" >> $GITHUB_OUTPUT
echo "release_assets_url=${{ github.event.release.assets_url }}" >> $GITHUB_OUTPUT
build-docker:
runs-on: ubuntu-22.04-16-cores
needs: output-release
steps:
- uses: actions/checkout@v3
with:
repository: 'jito-foundation/jito-solana'
ref: ${{ github.event.release.name }}
submodules: 'recursive'
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: |
set -x
CI="" ./sdk/docker-solana/build.sh
docker tag solanalabs/solana:"${CI_TAG}" ghcr.io/kilnfi/jito-solana:"${CI_TAG}"
docker push ghcr.io/kilnfi/jito-solana:"${CI_TAG}"
env:
CI_TAG: ${{ github.event.release.name }}