Skip to content

feat(generators): add --exclude-external-imports flag #69

feat(generators): add --exclude-external-imports flag

feat(generators): add --exclude-external-imports flag #69

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- "main"
tags:
- "v*"
pull_request:
branches:
- "main"
jobs:
docker:
name: Build and (conditionally) Push Docker Image
if: github.repository == 'linkml/linkml'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5.10.0
with:
images: linkml/linkml
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Log Docker tags
run: |
echo "Docker tags to be used:"
echo "${{ steps.meta.outputs.tags }}"
echo "Event: ${{ github.event_name }}"
echo "Ref: ${{ github.ref }}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3.7.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.12.0
- name: Login to DockerHub
if: startsWith(github.ref, 'refs/tags/v')
uses: docker/login-action@v3.7.0
with:
username: cjmungall
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6.19.2
with:
context: .
platforms: linux/amd64,linux/arm64/v8
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}