Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
release:
types:
- published
env:
IMAGE_NAME: ghcr.io/kurrawong/rdf-delta
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker meta
uses: zazuko/action-docker-meta@main
id: docker_meta
with:
images: ${{ env.IMAGE_NAME }}
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up and use Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build container image and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
# Set provenance to false due to issue documented here: https://github.com/docker/build-push-action/issues/778
provenance: false
platforms: linux/amd64,linux/arm64