Skip to content

Commit

Permalink
add python
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasCote committed Mar 6, 2024
1 parent 3d54516 commit 3d26a79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV TOKEN=${TOKEN} \
REPO=${REPO}

# Install jq and git
RUN dnf -y update; yum -y install jq git
RUN dnf -y update; yum -y install jq git python

RUN cd /home/podman && mkdir actions-runner && cd actions-runner && \
curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz && \
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ A GitHub API token is required to connect the runner to a repository. GitHub tok

[![GitHub Runner Build, Push, & Update](https://github.com/NicholasCote/github-runner/actions/workflows/gh-runner-build.yaml/badge.svg)](https://github.com/NicholasCote/github-runner/actions/workflows/gh-runner-build.yaml)

## GitOps CICD

This repository utilizes GitHub actions to build a new container image whenever changes are made, push that image to NSF NCAR's Harbor container registry,

## Building an image

The container image needs to know the repository to use and uses an API token to connect to it in order to get a GitHub runner registration token. These can be supplied during the container build, or when the container is run. Examples of both commands can be found below:
Expand Down

0 comments on commit 3d26a79

Please sign in to comment.