Skip to content

Workflow file for this run

name: Publish rolling build (neptune)
on:
push:
branches:
- neptune
jobs:
docker:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: npm
- run: npm ci
- run: npm run build
- run: cp -r dist/ build/
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: 'ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}'
tags: |
type=semver,pattern=v{{version}}
type=ref,event=branch
type=ref,event=branch,suffix=-{{ sha }}
type=raw,value=${{ env.SHA }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
provenance: false
file: distribution/containers/neptune.Dockerfile
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}