Skip to content

Bump version to v1.10.2 for release #20

Bump version to v1.10.2 for release

Bump version to v1.10.2 for release #20

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
packages: write
env:
PLATFORMS: linux/amd64,linux/arm64
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install shellcheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Validate scripts
run: ./scripts/validate.sh --require-shellcheck
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
with:
platforms: ${{ env.PLATFORMS }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ !contains(github.ref_name, '-') }}
type=sha,prefix=sha-
type=ref,event=tag
type=semver,pattern={{version}}
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile
push: true
provenance: false
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ env.PLATFORMS }}
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true