Skip to content

Split ubuntu20.04 Dockerfile (#91) #64

Split ubuntu20.04 Dockerfile (#91)

Split ubuntu20.04 Dockerfile (#91) #64

Workflow file for this run

name: docker
on:
push:
branches:
- master
paths:
- 'Dockerfile.**'
workflow_dispatch:
repository_dispatch:
types:
- nebula-third-party-build
defaults:
run:
shell: bash
jobs:
docker:
name: docker
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- {"name": "centos7", "file": "centos7"}
# - {"name": "centos8", "file": "centos8"}
# - {"name": "ubuntu1604", "version": "xenial", "file": "ubuntu"}
# - {"name": "ubuntu1804", "version": "bionic", "file": "ubuntu"}
- {"name": "ubuntu2004", "version": "20.04", "file": "ubuntu2004"}
- {"name": "ubuntu2404", "version": "24.04", "file": "ubuntu2404"}
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.${{ matrix.os.file }}
platforms: linux/amd64,linux/arm64
tags: vesoft/nebula-dev:${{ matrix.os.name }}-v5
push: true
build-args: |
VERSION=${{ matrix.os.version }}