Skip to content

Publish Docker image #162

Publish Docker image

Publish Docker image #162

Workflow file for this run

name: Publish Docker image
on:
schedule:
- cron: "30 6 * * 1"
workflow_dispatch: {}
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Log into GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
target: alumina-boot
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/alumina-lang/alumina-boot:latest