Skip to content

Bump github.com/goccy/go-yaml from 1.13.7 to 1.13.8 #154

Bump github.com/goccy/go-yaml from 1.13.7 to 1.13.8

Bump github.com/goccy/go-yaml from 1.13.7 to 1.13.8 #154

name: build-push-latest
on:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up QEMU
if: github.ref_type == 'tag'
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into registry ${{ env.REGISTRY }}
if: github.ref_name == 'main' || github.ref_type == 'tag'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and push
uses: docker/build-push-action@v5
with:
provenance: false
platforms: ${{github.ref_type == 'tag' && 'linux/amd64,linux/arm64,linux/arm/v7' || 'linux/amd64'}}
push: ${{ github.ref_name == 'main' || github.ref_type == 'tag'}}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}