Skip to content

Bump github.com/charmbracelet/wish from 1.2.0 to 1.3.0 #14

Bump github.com/charmbracelet/wish from 1.2.0 to 1.3.0

Bump github.com/charmbracelet/wish from 1.2.0 to 1.3.0 #14

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