Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 26 days 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 (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T06:26:56.000Z (2 months ago)
- Last Synced: 2024-09-25T15:37:27.415Z (about 1 month 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.
[![Example Workflow](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/example_workflow.yml/badge.svg)](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/example_workflow.yml)
[![Docker Image for Bash](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_bash.yml/badge.svg)](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_bash.yml)
[![Docker Image for Go](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_go.yml/badge.svg)](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_go.yml)
[![Docker Image for Java](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_java.yml/badge.svg)](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_java.yml)
[![Docker Image for Node](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_node.yml/badge.svg)](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_node.yml)
[![Docker Image for Python](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_python.yml/badge.svg)](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_python.yml)
[![Docker Image for Rust](https://github.com/opslabhqx/action-alpine-docker-template/actions/workflows/docker_buildx_rust.yml/badge.svg)](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.