Skip to content

chore(deps): update tailwindcss monorepo to v4.2.2 #65

chore(deps): update tailwindcss monorepo to v4.2.2

chore(deps): update tailwindcss monorepo to v4.2.2 #65

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build Dex
on:
push:
branches:
- "main"
tags:
- "*"
pull_request:
jobs:
build:
name: Build Dex
timeout-minutes: 10
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
strategy:
matrix:
flavor: [alpine, distroless]
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Login to GitHub Container Registry (tag only)
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Generate Docker Metadata
id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with:
images: |
ghcr.io/hyprmcp/dex
tags: |
type=ref,event=branch
type=semver,pattern={{version}}-${{ matrix.flavor }}
flavor: |
latest=false
labels: |
org.opencontainers.image.description=Dex
- name: Docker build (push on tag only)
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
id: build-push
with:
platforms: ${{ startsWith(github.ref, 'refs/tags/') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
push: ${{ startsWith(github.ref, 'refs/tags/') }}
file: ./Dockerfile.${{ matrix.flavor }}
sbom: true
provenance: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
if: ${{ startsWith(github.ref, 'refs/tags/') }}
- name: Sign the images with GitHub OIDC Token
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
DIGEST: ${{ steps.build-push.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}