Skip to content

Commit

Permalink
Add steps:
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Jan 8, 2025
1 parent 19e759c commit 5010c88
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/manual_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ on:
jobs:

build-it:
name: Build docker image on command
uses: ./.github/workflows/
with:
directory: ${{github.event.inputs.directory}}
tag: ${{github.event.inputs.tag}}
dockerhubpush: ${{github.event.inputs.dockerhubpush}}
token: ${{ secrets.GH_PAT }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
steps:
- name: Docker build
if: ${{ steps.image_name.outputs.any_changed == 'true'}}
uses: ./.github/workflows/
with:
directory: ${{ matrix.config.dir }}
tag: ${{ matrix.config.name }}
dockerhubpush: false
token: ${{ secrets.GH_PAT }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit 5010c88

Please sign in to comment.