Skip to content

Commit

Permalink
ci: Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Apr 10, 2024
1 parent bc5cf65 commit a331dc5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ outputs:
runs:
using: "composite"
steps:
- name: Debug
shell: bash
run: |
# github.event_name: ${{ github.event_name }} push
# inputs.build_only: ${{ inputs.build_only }} false
# cond1: ${{ github.event_name != 'pull_request' }} true
# cond2: ${{ !inputs.build_only }} true
# result: ${{ github.event_name != 'pull_request' && !inputs.build_only }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
context:
type: string
default: .
build_only:
type: boolean
default: false
secrets:
GH_TOKEN:
required: true
Expand All @@ -33,6 +36,7 @@ jobs:
dockerhub_username: ${{ inputs.dockerhub_username }}
dockerfile: ${{ inputs.dockerfile }}
context: ${{ inputs.context }}
build_only: ${{ inputs.build_only }}
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}

Expand Down

0 comments on commit a331dc5

Please sign in to comment.