Skip to content

⬆️ Bump pnpm/action-setup from 3 to 4 (#58) #174

⬆️ Bump pnpm/action-setup from 3 to 4 (#58)

⬆️ Bump pnpm/action-setup from 3 to 4 (#58) #174

Workflow file for this run

name: Docker
on:
push:
branches: main
tags: v*
pull_request:
branches: main
jobs:
docker:
runs-on: ubuntu-latest
if: ${{ github.actor != 'nektos/act' }}
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=ref,event=tag
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{version}}
- uses: docker/build-push-action@v5
with:
context: .
labels: ${{ steps.meta.outputs.labels }}
push: ${{ github.ref_type == 'tag' }}
tags: ${{ steps.meta.outputs.tags }}
secrets: |
BUILD_BASE=