Skip to content

Bump picomatch from 2.3.1 to 2.3.2 #116

Bump picomatch from 2.3.1 to 2.3.2

Bump picomatch from 2.3.1 to 2.3.2 #116

name: Create and publish container image
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize, reopened]
env:
REGISTRY: ghcr.io
REPO_NAME: ${{ github.repository }}
jobs:
build-and-push-images:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Log in to the Container registry
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for core container
id: meta-core
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.REPO_NAME }}-core
tags: |
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push lab-framework core image
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
tags: ${{ steps.meta-core.outputs.tags }}
labels: ${{ steps.meta-core.outputs.labels }}