Skip to content

Bump github.com/charmbracelet/bubbletea from 0.27.1 to 1.1.0 #32

Bump github.com/charmbracelet/bubbletea from 0.27.1 to 1.1.0

Bump github.com/charmbracelet/bubbletea from 0.27.1 to 1.1.0 #32

Workflow file for this run

---
name: docker
on:
pull_request:
push:
tags:
- "v*.*.*"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'true'
-
name: Set up docker buildx
uses: docker/setup-buildx-action@v2
-
name: Log in to the container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,event=tag,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=semver,event=tag,pattern={{version}}
type=semver,event=tag,pattern={{major}}.{{minor}}
type=ref,event=pr
-
name: Build and push the image
uses: docker/build-push-action@v4
with:
file: Dockerfile
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max