Skip to content

βš™ Add more apt configs #9

βš™ Add more apt configs

βš™ Add more apt configs #9

Workflow file for this run

---
name: πŸ‘·β€β™‚οΈ Build
on:
push:
tags:
- v*
jobs:
lint:
name: 🧹 Lint
runs-on: ubuntu-latest
if: github.actor != 'renovate[bot]' && github.actor != 'renovate[bot]'
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v5
- name: 🧹 Lint
uses: pre-commit/action@v3.0.1
build:
name: 🐳 Docker Build
runs-on: ubuntu-latest
needs:
- lint
permissions:
contents: read
packages: write
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v5
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: πŸ”‘ Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: πŸ“ƒ Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
flavor: |
latest=false
tags: |
type=raw,value=latest
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
- name: 🐳 Docker Build & Push
uses: docker/build-push-action@v6
id: docker_build
env:
DOCKER_BUILD_SUMMARY: true
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
provenance: false
push: true
tags: ${{ steps.meta.outputs.tags }}