Skip to content

docker-container.yaml #12

docker-container.yaml

docker-container.yaml #12

name: docker-container.yaml
on:
workflow_dispatch:
schedule:
- cron: '55 22 6 * 6'
release:
types: [published]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: tools/docker/Dockerfile
tags: ghcr.io/r-lib/nanoparquet:${{ github.ref_type != 'tag' && 'devel' || github.ref_name }}