Skip to content

feat: Solrwayback 5.x #74

feat: Solrwayback 5.x

feat: Solrwayback 5.x #74

Workflow file for this run

name: Test release
on: push
env:
REGISTRY: ghcr.io
jobs:
build:
name: Create and release docker image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
image: [solrwayback, warc-indexer]
steps:
- name: Code checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Extract metadata (tags, labels, version) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.image }}
tags: |
type=semver,pattern={{version}}
type=ref,event=branch
type=ref,event=pr
- name: Build and do NOT push Docker image
uses: docker/build-push-action@v4
with:
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: Dockerfile.${{ matrix.image }}