Skip to content

Commit

Permalink
feat: remove manual flag to pushing image
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Aug 2, 2024
1 parent 2a459dd commit 9013d5d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/deployment-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: "[Deployment] Release"

on:
pull_request:
types:
- closed
push:
branches:
- main
workflow_dispatch:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9013d5d

Please sign in to comment.