Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

feat: employ semantic releases #1

feat: employ semantic releases

feat: employ semantic releases #1

Workflow file for this run

name: Docker
on: push
env:
REGISTRY: ghcr.io
NAMESPACE: planqk
jobs:
docker:
runs-on: ubuntu-latest
permissions:
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/planqk-cli-serve
- name: Build and push image
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}