mirror of
https://github.com/int128/kubelogin.git
synced 2026-05-18 22:06:46 +00:00
36 lines
726 B
YAML
36 lines
726 B
YAML
name: docker
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- .github/workflows/docker.yaml
|
|
- pkg/**
|
|
- go.*
|
|
- Dockerfile
|
|
- Makefile
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- .github/workflows/docker.yaml
|
|
- pkg/**
|
|
- go.*
|
|
- Dockerfile
|
|
- Makefile
|
|
tags:
|
|
- v*
|
|
|
|
jobs:
|
|
build:
|
|
if: github.event_name == 'pull_request'
|
|
uses: int128/docker-build-workflow/.github/workflows/build.yaml@v1
|
|
|
|
build-multi-architecture:
|
|
if: github.event_name != 'pull_request'
|
|
uses: int128/docker-build-workflow/.github/workflows/build-multi-architecture.yaml@v1
|
|
with:
|
|
platforms: |
|
|
["linux/amd64", "linux/arm64", "linux/ppc64le"]
|