A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix: workflow inputs and docker push (#1123)
Manuelc8dfbc8e2d3f
diff --git a/.github/workflows/deployment-docker-image.yml b/.github/workflows/deployment-docker-image.ymlindex 3611ae31e..1a8d69642 100644--- a/.github/workflows/deployment-docker-image.yml+++ b/.github/workflows/deployment-docker-image.yml@@ -38,7 +38,7 @@ jobs:node-version: [20]steps:- name: Discord notification- if: ${{ github.events.inputs.send-notifications }}+ if: ${{ github.events.inputs.send-notifications || true }}env:DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}uses: Ilshidur/action-discord@master@@ -52,7 +52,7 @@ jobs:token: ${{ github.token }}branch: dev- name: Discord notification- if: ${{ github.events.inputs.send-notifications }}+ if: ${{ github.events.inputs.send-notifications || true }}env:DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}uses: Ilshidur/action-discord@master@@ -67,7 +67,7 @@ jobs:node-version: ${{ matrix.node-version }}cache: "pnpm"- name: Discord notification- if: ${{ github.events.inputs.send-notifications }}+ if: ${{ github.events.inputs.send-notifications || true }}env:DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}uses: Ilshidur/action-discord@master@@ -97,19 +97,40 @@ jobs:- name: Build and pushid: buildPushActionuses: docker/build-push-action@v6+ if: ${{ github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null }}with:platforms: linux/amd64,linux/arm64context: .- push: ${{ github.events.inputs.push-image && 'true' || 'false' }}+ push: truetags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}network: hostenv:SKIP_ENV_VALIDATION: true+ - name: Build+ id: buildPushDryAction+ uses: docker/build-push-action@v6+ if: ${{ github.events.inputs.push-image == 'false' }}+ with:+ platforms: linux/amd64,linux/arm64+ context: .+ push: false+ tags: ${{ steps.meta.outputs.tags }}+ labels: ${{ steps.meta.outputs.labels }}+ network: host+ env:+ SKIP_ENV_VALIDATION: true+ - name: Discord notification+ if: ${{ github.events.inputs.send-notifications || true && (github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null) }}+ env:+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}+ uses: Ilshidur/action-discord@master+ with:+ args: "Deployment of image has completed. Image ID is '${{ steps.buildPushAction.outputs.imageid }}'."- name: Discord notification- if: ${{ github.events.inputs.send-notifications }}+ if: ${{ github.events.inputs.send-notifications || true && !(github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null) }}env:DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}uses: Ilshidur/action-discord@masterwith:- args: "Deployment of image has completed. Image ID is '${{ steps.buildPushAction.outputs.imageid }}'. This was a dry run."+ args: "Deployment of image has completed. Image ID is '${{ steps.buildPushDryAction.outputs.imageid }}'. This was a dry run."