Skip to content

v1.1.0

v1.1.0 #27

Workflow file for this run

name: Docker Image
on:
release:
types: [published]
jobs:
docker:
name: Publish to Docker Hub 🐳
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Docker Metadata 🧾
uses: docker/metadata-action@v5
id: meta
with:
images: ${{ github.repository }}
flavor: |
latest=${{ !github.event.release.prerelease }}
tags: |
type=semver,pattern={{major}}.{{minor}},enable=${{ !github.event.release.prerelease }}
type=semver,pattern={{major}},enable=${{ !github.event.release.prerelease }}
type=semver,pattern={{version}}
type=sha,format=short
- name: Set up QEMU 🦆
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx 📦
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub 🔑
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and Push 🚀
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: true