Skip to content

Commit

Permalink
chore(ci): update workflow test file:
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey committed Sep 25, 2024
1 parent 0dffae8 commit fda2184
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/dockerfile_workflow_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@
# before being able to test them.
#
name: Build Using Reusable Workflow
on: [push, pull_request]
on:
push:
branches:
- main
tags:
- v*
pull_request:
workflow_dispatch:
inputs:
ref:
description: The checkout ref
required: true
type: string
jobs:
# reusable-build tests calling the reusable_dockerfile_pipeline while
# providing a custom packageName
Expand All @@ -19,6 +31,7 @@ jobs:
with:
dockerfile: docker-action-test/Dockerfile
packageName: docker-test
checkout_ref: ${{ inputs.ref }}
secrets: inherit

# reusable-build-defaults tests calling the reusable_dockerfile_pipeline with
Expand All @@ -30,4 +43,5 @@ jobs:
uses: celestiaorg/.github/.github/workflows/reusable_dockerfile_pipeline.yml@develop
with:
dockerfile: docker-action-test/Dockerfile
checkout_ref: ${{ inputs.ref }}
secrets: inherit

0 comments on commit fda2184

Please sign in to comment.