feat: remove manual flag to pushing image

This commit is contained in:
Manuel
2024-08-02 21:41:26 +02:00
parent 2a459dda20
commit 9013d5dbf0

View File

@@ -1,9 +1,7 @@
name: "[Deployment] Release" name: "[Deployment] Release"
on: on:
pull_request: push:
types:
- closed
branches: branches:
- main - main
workflow_dispatch: workflow_dispatch:
@@ -13,11 +11,6 @@ on:
required: false required: false
default: true default: true
description: Send notifications description: Send notifications
push-image:
type: boolean
required: false
default: true
description: Push image to remote repository
permissions: permissions:
contents: write contents: write
@@ -102,7 +95,7 @@ jobs:
with: 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 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: . context: .
push: ${{ github.event.inputs['push-image'] }} push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
network: host network: host