This repository contains various images of Amber Compiler
These images have entrypoint set to Amber compiler executable.
Example usage in Github workflow:
jobs:
build-scripts:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build script
uses: docker://ghcr.io/amber-lang/amber:alpine-0.4.0-alpha
with:
args:
- build
- ./script.ab
- ./script.sh
Images are separated to different folders based on Amber compiler version.
Naming convention is: <Base Image Name>.Dockerfile
ALWAYS use specific base image version.
In order to build images for a specific architecture, use docker buildx.
For testing images locally use build-image.ab
script
build-image.ab [Amber version (0.4.0-alpha, 0.3.5-alpha, ...)] [Base Image (Alpine ...)] [Platform (linux/amd64, linux/arm64, ...)]?