Skip to content

Commit

Permalink
ci: fox inputs for release-with-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
geokrety-bot committed Aug 8, 2023
1 parent 25e9821 commit 6062b46
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/release-with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,20 @@ on:
inputs:
image_name:
type: string
dockerhub_username:
required: true
type: string
dockerfile:
type: string
default: Dockerfile
context:
type: string
default: .
secrets:
GH_TOKEN:
required: true
dockerhub_token:
required: true

jobs:
pre-commit:
Expand All @@ -22,10 +33,12 @@ jobs:
uses: geokrety/geokrety-gha-workflows/.github/workflows/docker-build.yml@main
with:
image_name: ${{ inputs.image_name }}
dockerhub_username: ${{ vars.DOCKERHUB_USERNAME }}
dockerfile: Dockerfile
dockerhub_username: ${{ inputs.dockerhub_username }}
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerfile: ${{ inputs.dockerfile }}
context: ${{ inputs.context }}
secrets:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
dockerhub_token: ${{ secrets.dockerhub_token }}

build-release:
uses: geokrety/geokrety-gha-workflows/.github/workflows/semantic-release.yml@main
Expand Down

0 comments on commit 6062b46

Please sign in to comment.