Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.11.0 to 6.15.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v6.11.0...v6.15.0) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
name: On push
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
paths-ignore:
|
|
- 'dashboard/*'
|
|
- 'examples/*'
|
|
- 'README.md'
|
|
- 'LICENSE'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7"
|
|
|
|
jobs:
|
|
build_container_image:
|
|
name: Build and push Docker image
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3.8.0
|
|
- name: Docker meta
|
|
id: meta
|
|
uses: docker/metadata-action@v5
|
|
with:
|
|
images: |
|
|
ghcr.io/${{ github.repository }}-development
|
|
tags: |
|
|
type=raw,value=dev-{{date 'X'}}
|
|
type=raw,value=latest
|
|
type=ref,event=branch
|
|
type=edge,branch=main
|
|
- name: Build
|
|
uses: docker/build-push-action@v6.15.0
|
|
with:
|
|
platforms: ${{ env.PLATFORMS }}
|
|
push: false
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
provenance: false
|
|
|
|
|