https://github.com/opslabhqx/action-alpine-docker-template
Run GitHub Actions in Docker Alpine images.
https://github.com/opslabhqx/action-alpine-docker-template
action alpine docker template
Last synced: 5 months ago
JSON representation
Run GitHub Actions in Docker Alpine images.
- Host: GitHub
- URL: https://github.com/opslabhqx/action-alpine-docker-template
- Owner: opslabhqx
- License: mit
- Created: 2024-07-21T21:14:06.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T06:26:56.000Z (10 months ago)
- Last Synced: 2024-09-25T15:37:27.415Z (10 months ago)
- Topics: action, alpine, docker, template
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# action-alpine-docker-template
Run GitHub Actions in Docker Alpine images.
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/example_workflow.yml)
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_bash.yml)
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_go.yml)
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_java.yml)
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_node.yml)
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_python.yml)
[](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_rust.yml)## Getting Started
### Language Supported
- Bash
- Go
- Java
- Node.js
- Python
- Rust### Usage
Each action in this repository is built using a Docker container based on Alpine Linux, ensuring a lightweight and consistent environment across different languages. This setup simplifies dependency management and enhances security by leveraging Alpine's minimalistic nature.
#### Bash Action
```yaml
- name: Checkout repository
uses: actions/checkout@v4- name: Bash Action
uses: opslabhqx/action-alpine-docker-template/bash@main
```#### Go Action
```yaml
- name: Checkout repository
uses: actions/checkout@v4- name: Go Action
uses: opslabhqx/action-alpine-docker-template/go@main
```#### Java Action
```yaml
- name: Checkout repository
uses: actions/checkout@v4- name: Java Action
uses: opslabhqx/action-alpine-docker-template/java@main
```#### Node Action
```yaml
- name: Checkout repository
uses: actions/checkout@v4- name: Node Action
uses: opslabhqx/action-alpine-docker-template/node@main
```#### Python Action
```yaml
- name: Checkout repository
uses: actions/checkout@v4- name: Python Action
uses: opslabhqx/action-alpine-docker-template/python@main
```#### Rust Action
```yaml
- name: Checkout repository
uses: actions/checkout@v4- name: Rust Action
uses: opslabhqx/action-alpine-docker-template/rust@main
```## Example Workflow
Below is an example workflow configuration that uses the actions provided in this repository. This workflow is triggered manually and runs the "Hello World" program in all supported languages.
Check out our example workflow [here](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/example_workflow.yml).
```yaml
---
name: Test-Workflowon:
workflow_dispatch:jobs:
test:
runs-on: ubuntu-lateststeps:
- name: Checkout repository
uses: actions/checkout@v4- name: Bash Action
uses: opslabhqx/action-alpine-docker-template/bash@main- name: Go Action
uses: opslabhqx/action-alpine-docker-template/go@main- name: Java Action
uses: opslabhqx/action-alpine-docker-template/java@main- name: Node Action
uses: opslabhqx/action-alpine-docker-template/node@main- name: Python Action
uses: opslabhqx/action-alpine-docker-template/python@main- name: Rust Action
uses: opslabhqx/action-alpine-docker-template/rust@main
```## License
This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.