A repository to hold custom GitHub Actions used for Apicurio projects.
Save a Docker image to a tar file for later use, caching, or distribution.
Usage:
- name: Save Docker Image
uses: apicurio/apicurio-github-actions/save-docker-image@v2
with:
image-name: 'my-app'
tag: 'latest'
output-path: './my-app.tar'To publish these actions to the GitHub Actions Marketplace:
- Create a new release with a version tag (e.g.,
v1.0.0) - Each action directory contains the necessary
action.ymlfile - The actions will be available as
apicurio/apicurio-github-actions/<action-name>@<version>
- Create a new directory for your action
- Add an
action.ymlfile with the action definition - Include a comprehensive
README.mdwith usage examples - Add tests in
.github/workflows/to validate the action - Update this main README.md to list the new action
Each action includes automated tests that run on:
- Push to action-specific files
- Pull requests affecting action files
- Manual workflow dispatch
Run tests locally or view results in the Actions tab.