Skip to content

v0.4.21

v0.4.21 #2

Workflow file for this run

name: release
on:
release:
types:
- published
jobs:
docker:
name: build docker image
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
weygu/nebulagraph-dd-ext
tags: |
# git tag & latest coverred
type=ref,event=tag
# git branch
type=ref,event=branch
# v3.0.0
type=semver,pattern={{version}}
# v3
type=semver,pattern={{major}}
# v3.0
type=semver,pattern={{major}}.{{minor}}
- name: Log into registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}