Skip to content

Commit

Permalink
config: add push image input
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Jul 27, 2024
1 parent 15d9327 commit bce085c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deployment-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
required: false
default: true
description: Send notifications
push-image:
type: boolean
required: false
default: true
description: Push image to remote repository

permissions:
contents: write
Expand Down Expand Up @@ -88,7 +93,7 @@ jobs:
with:
platforms: linux/amd64 # we currently do't build for linux/arm64 as it's really slow and we'll move to a self hosted runner for that or use the official github runner, once it's available
context: .
push: false
push: ${{ github.events.inputs.push-image }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
network: host
Expand Down

0 comments on commit bce085c

Please sign in to comment.