Skip to content

upgrade bun, add secret and build info #212

upgrade bun, add secret and build info

upgrade bun, add secret and build info #212

Workflow file for this run

name: Quality Checks
on:
push:
paths-ignore:
- 'README.md'
- 'env.example'
- '.vscode/**'
release:
types: ['published']
jobs:
check-files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
build-and-push:
permissions:
contents: read
packages: write
id-token: write
runs-on: ubuntu-latest
needs: check-files
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Log in to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/datum-cloud/milo-os-com
tags: |
type=ref,event=pr
type=ref,event=branch
type=ref,event=branch,suffix=-{{commit_date 'YYYYMMDD-HHmmss'}}
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
type=sha
- name: Build Website
id: push
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
target: production
publish-kustomize-bundles:
permissions:
id-token: write
contents: read
packages: write
uses: datum-cloud/actions/.github/workflows/[email protected]
with:
bundle-name: ghcr.io/datum-cloud/milo-os-com-kustomize
bundle-path: config/base
secrets: inherit