From 9013d5dbf01a7c60e5a427cfcebea7a332deb5d2 Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 2 Aug 2024 21:41:26 +0200 Subject: [PATCH] feat: remove manual flag to pushing image --- .github/workflows/deployment-docker-image.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deployment-docker-image.yml b/.github/workflows/deployment-docker-image.yml index 38d5fe592..63592aff5 100644 --- a/.github/workflows/deployment-docker-image.yml +++ b/.github/workflows/deployment-docker-image.yml @@ -1,9 +1,7 @@ name: "[Deployment] Release" on: - pull_request: - types: - - closed + push: branches: - main workflow_dispatch: @@ -13,11 +11,6 @@ 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 @@ -102,7 +95,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: ${{ github.event.inputs['push-image'] }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} network: host