Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Publish
on:
push:
branches: [main]
jobs:
docker:
strategy:
matrix:
config:
- tag: v0.29
rustc: v1.78.0
node: v22.8.0
solana: v1.17.25
anchor: v0.29.0
- tag: v0.30
rustc: v1.78.0
node: v22.8.0
solana: v1.18.10
anchor: v0.30.0
- tag: v0.31
rustc: v1.78.0
node: v22.8.0
solana: v2.0.0
anchor: v0.31.0
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and push Docker Image
run: |
docker build \
--build-arg RUSTC_VERSION=${{ matrix.config.rustc }} \
--build-arg NODE_VERSION=${{ matrix.config.node }} \
--build-arg SOLANA_CLI=${{ matrix.config.solana }} \
--build-arg ANCHOR_CLI=${{ matrix.config.anchor }} \
-t ghcr.io/wjthieme/anchor-build:${{ matrix.config.tag }} .
docker push ghcr.io/wjthieme/anchor-build:${{ matrix.config.tag }}