Update
This commit is contained in:
10
.github/workflows/docker-build.yml
vendored
10
.github/workflows/docker-build.yml
vendored
@ -3,18 +3,18 @@ name: Build and Publish Docker Images
|
||||
on:
|
||||
push:
|
||||
branches: [main, develop]
|
||||
tags: [ 'v*' ]
|
||||
tags: ["v*"]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
platforms:
|
||||
description: 'Platforms to build (comma-separated)'
|
||||
description: "Platforms to build (comma-separated)"
|
||||
required: false
|
||||
default: 'linux/amd64,linux/arm64'
|
||||
default: "linux/amd64,linux/arm64"
|
||||
type: string
|
||||
push_to_registry:
|
||||
description: 'Push to registry'
|
||||
description: "Push to registry"
|
||||
required: false
|
||||
default: true
|
||||
type: boolean
|
||||
@ -22,7 +22,6 @@ on:
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME_1: ${{ github.repository_owner }}/voice-rss-summary
|
||||
IMAGE_NAME_2: ${{ github.repository_owner }}/voicersssummary
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -55,7 +54,6 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME_1 }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME_2 }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
|
Reference in New Issue
Block a user