forked from uraimo/run-on-arch-action
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
79 additions
and
24 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
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,4 @@ | ||
FROM amd64/alpine:latest | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/debian:bullseye | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/debian:buster | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/fedora:latest | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/debian:jessie | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/debian:stretch | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:16.04 | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:18.04 | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:20.04 | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:22.04 | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:devel | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:latest | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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,4 @@ | ||
FROM amd64/ubuntu:rolling | ||
|
||
COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh | ||
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh |
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
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 |
---|---|---|
@@ -1,49 +1,49 @@ | ||
name: 'Run on architecture' | ||
name: "Run on architecture" | ||
branding: | ||
icon: 'cpu' | ||
color: 'green' | ||
description: 'Run commands in a Linux container with a specific CPU architecture (armv6, armv7, aarch64, s390x, ppc64le)' | ||
author: 'Umberto Raimondi, Elijah Shaw-Rutschman' | ||
icon: "cpu" | ||
color: "green" | ||
description: "Run commands in a Linux container with a specific CPU architecture (armv6, armv7, aarch64, s390x, ppc64le)" | ||
author: "Umberto Raimondi, Elijah Shaw-Rutschman" | ||
inputs: | ||
arch: | ||
description: 'CPU architecture: armv6, armv7, aarch64, riscv64, s390x, ppc64le.' | ||
description: "CPU architecture: armv6, armv7, aarch64, riscv64, s390x, ppc64le, x86_64." | ||
required: false | ||
default: 'aarch64' | ||
default: "aarch64" | ||
distro: | ||
description: 'Linux distribution name: ubuntu16.04, ubuntu18.04, ubuntu20.04, bullseye, buster, stretch, jessie, fedora_latest, alpine_latest, archarm_latest.' | ||
description: "Linux distribution name: ubuntu16.04, ubuntu18.04, ubuntu20.04, bullseye, buster, stretch, jessie, fedora_latest, alpine_latest, archarm_latest." | ||
required: false | ||
default: 'ubuntu18.04' | ||
default: "ubuntu18.04" | ||
githubToken: | ||
description: 'Your GitHub token, used for caching Docker images in your project''s public package registry. Usually this would just be $\{{ github.token }}. This speeds up builds and is highly recommended.' | ||
required: false | ||
default: '' | ||
default: "" | ||
env: | ||
description: 'Environment variables to propagate to the container. YAML, but must begin with a | character. These variables will be available in both run and setup.' | ||
description: "Environment variables to propagate to the container. YAML, but must begin with a | character. These variables will be available in both run and setup." | ||
required: false | ||
default: '' | ||
default: "" | ||
run: | ||
description: 'Shell commands to execute in the container.' | ||
description: "Shell commands to execute in the container." | ||
required: true | ||
shell: | ||
description: 'The shell to run commands with in the container. Default: /bin/sh on alpine (because Alpine uses BusyBox), /bin/bash for other distros.' | ||
description: "The shell to run commands with in the container. Default: /bin/sh on alpine (because Alpine uses BusyBox), /bin/bash for other distros." | ||
required: false | ||
default: '' | ||
default: "" | ||
dockerRunArgs: | ||
description: 'Additional arguments to pass to docker run, such as volume mappings. See README for example usage.' | ||
description: "Additional arguments to pass to docker run, such as volume mappings. See README for example usage." | ||
required: false | ||
setup: | ||
description: 'Shell commands to execute on the host before running the container, such as creating directories for volume mappings. See README for example usage.' | ||
description: "Shell commands to execute on the host before running the container, such as creating directories for volume mappings. See README for example usage." | ||
required: false | ||
default: '' | ||
default: "" | ||
install: | ||
description: 'Shell commands to execute in the container as part of docker build, such as installing dependencies. This speeds up subsequent builds if githubToken is also used, but note that the image layer will be publicly available in your projects GitHub Package Registry, so make sure the resulting image does not have any secrets cached in logs or state.' | ||
description: "Shell commands to execute in the container as part of docker build, such as installing dependencies. This speeds up subsequent builds if githubToken is also used, but note that the image layer will be publicly available in your projects GitHub Package Registry, so make sure the resulting image does not have any secrets cached in logs or state." | ||
required: false | ||
default: '' | ||
default: "" | ||
base_image: | ||
description: 'Specify a custom base image, such as \"busybox\" or your predefined base image. This will replace the \"FROM\" claus in the default Dockerfile on the fly. This is optional. Hint: with this option you are able to use all the available archs other than the ones showed by default. See the [advanced example](./.github/workflows/advanced-example.yml) in this repo. For more detials, see [PR #103](https://github.com/uraimo/run-on-arch-action/pull/103#issuecomment-1363810049).' | ||
required: false | ||
default: '' | ||
default: "" | ||
|
||
runs: | ||
using: 'node16' | ||
main: 'src/run-on-arch.js' | ||
using: "node16" | ||
main: "src/run-on-arch.js" |