-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update the docker build workflow based on updates from celestia (…
…#12) * feat: update the docker build workflow based on updates from celestia * ci: add basic docker test for docker workflow
- Loading branch information
Showing
5 changed files
with
258 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# This workflow is used to test the `reusable_dockerfile_pipeline` action used | ||
# to build and push the Docker image to the container registries. | ||
# | ||
# The reason this workflow targets the develop branch is so that we can test the | ||
# action in the PR. If we targeted main, we would need to merge changes into main | ||
# before being able to test them. | ||
# | ||
name: Build Using Reusable Workflow | ||
on: [push, pull_request] | ||
jobs: | ||
# reusable-build tests calling the reusable_dockerfile_pipeline while | ||
# providing a custom packageName | ||
reusable-build: | ||
permissions: | ||
contents: write | ||
packages: write | ||
uses: rollkit/.github/.github/workflows/reusable_dockerfile_pipeline.yml@develop | ||
with: | ||
dockerfile: docker-action-test/Dockerfile | ||
packageName: docker-test | ||
secrets: inherit | ||
|
||
# reusable-build-defaults tests calling the reusable_dockerfile_pipeline with | ||
# the defaults | ||
reusable-build-defaults: | ||
permissions: | ||
contents: write | ||
packages: write | ||
uses: rollkit/.github/.github/workflows/reusable_dockerfile_pipeline.yml@develop | ||
with: | ||
dockerfile: docker-action-test/Dockerfile | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.