Skip to content

Bump ws from 5.2.2 to 5.2.4 #4

Bump ws from 5.2.2 to 5.2.4

Bump ws from 5.2.2 to 5.2.4 #4

Workflow file for this run

name: Build images
on:
pull_request:
types: [opened, reopened]
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/${{ github.repository_owner }}/milestone-bot
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest,enable={{is_default_branch}}
type=sha
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/milestone-bot:buildcache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/milestone-bot:buildcache,mode=max