diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index d13c0fa..4594fad 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -8,6 +8,10 @@ on: push: branches: - "main" + paths-ignore: + - "docs/**" + - "CHANGELOG.md" + - "README.md" env: IMAGE_NAME: "${{ github.repository_owner }}/github-actions-runner" diff --git a/README.md b/README.md index e48d1d1..9d05a74 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Available Tags: | Variable | Type | Description | | -------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------- | | `GH_ORG`, `GH_REPO` or `GH_ENTERPRISE` | string | Points to the GitHub enterprise, organisation or repo where the runner should be installed | -| `GH_ACCESS_TOKEN` | string | Developer Token vor the GitHub Organisation
This Token can be personal and is onlv needed during installation | +| `GH_ACCESS_TOKEN` | string | Developer Token vor the GitHub Organisation

This Token can be personal and is onlv needed during installation | ### Optional environmental variables diff --git a/images/ansible-k8s/Dockerfile b/images/ansible-k8s/Dockerfile index 9573d2d..04e0587 100644 --- a/images/ansible-k8s/Dockerfile +++ b/images/ansible-k8s/Dockerfile @@ -14,7 +14,7 @@ ENV GH_RUNNER_LABELS="ubuntu-20.04,ansible-k8s" # https://github.com/kubernetes/kubernetes/releases/ ARG KUBECTL_VERSION=1.23.5 # https://github.com/helm/helm/releases -ARG HELM_VERSION=3.8.1 +ARG HELM_VERSION=3.12.0 COPY --from=build /go/src/github.com/containers/skopeo/bin/skopeo /usr/local/bin/skopeo COPY --from=build /go/src/github.com/containers/skopeo/default-policy.json /etc/containers/policy.json diff --git a/images/base/Dockerfile b/images/base/Dockerfile index 7ab061a..aa4d5d8 100644 --- a/images/base/Dockerfile +++ b/images/base/Dockerfile @@ -18,13 +18,13 @@ ENV GH_RUNNER_WORKDIR="/home/$USERNAME" ENV GH_KANIKO_WORKDIR="/kaniko/workspace" # https://github.com/actions/runner/releases -ENV GH_RUNNER_VERSION=2.302.1 +ENV GH_RUNNER_VERSION=2.304.0 ENV GH_RUNNER_LABELS=ubuntu-20.04 # https://github.com/fullstack-devops/awesome-ci/releases -ENV AWESOME_CI_VERSION 1.2.0 +ENV AWESOME_CI_VERSION 1.2.4 # https://github.com/samuong/alpaca/releases -ENV ALPACA_VERSION 1.3.2 +ENV ALPACA_VERSION 2.0.2 # making nessecarry directories RUN mkdir /helper-scripts \ diff --git a/images/golang/Dockerfile b/images/golang/Dockerfile index 33874d9..2b10700 100644 --- a/images/golang/Dockerfile +++ b/images/golang/Dockerfile @@ -4,9 +4,9 @@ USER root ENV GH_RUNNER_LABELS="ubuntu-20.04,nodejs,golang,helm,ansible" # https://github.com/helm/helm/releases -ARG HELM_VERSION=3.8.1 +ARG HELM_VERSION=3.12.0 # https://go.dev/dl/ -ARG GO_VERSION=1.19 +ARG GO_VERSION=1.20.4 # Install helm RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \ @@ -16,7 +16,7 @@ RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \ # install build tools for golang RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \ && wget https://golang.org/dl/go${GO_VERSION}.linux-${ARCH}.tar.gz -O /usr/local/src/go.linux.tar.gz \ - && tar -xf /usr/local/src/go.linux.tar.gz \ + && tar -C /usr/local/src -xzf /usr/local/src/go.linux.tar.gz \ && rm -rf /usr/local/src/go.linux.tar.gz \ && ln -s /usr/local/src/go/bin/go /usr/local/bin/ @@ -24,6 +24,8 @@ RUN chown -R $USERNAME /home/$USERNAME USER $USERNAME +ENV PATH=$PATH:/home/runner/go/bin + # install helm plugins helm push, appr && diff RUN helm plugin install --version 0.10.3 https://github.com/chartmuseum/helm-push.git \ && helm plugin install --version 0.7.0 https://github.com/app-registry/appr-helm-plugin.git \ diff --git a/images/maven-adopt-8-ng/Dockerfile b/images/maven-adopt-8-ng/Dockerfile index ec14924..5331ac1 100644 --- a/images/maven-adopt-8-ng/Dockerfile +++ b/images/maven-adopt-8-ng/Dockerfile @@ -19,7 +19,7 @@ RUN chmod 666 /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre/lib/security/cacerts ENV GH_RUNNER_LABELS="ubuntu-20.04,maven,openjdk-8,nodejs,go,yarn,helm,ansible" # https://github.com/helm/helm/releases -ARG HELM_VERSION=3.8.1 +ARG HELM_VERSION=3.12.0 # Install helm RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \ diff --git a/images/maven-temurin-11/Dockerfile b/images/maven-temurin-11/Dockerfile index 97a3e4c..3ceb383 100644 --- a/images/maven-temurin-11/Dockerfile +++ b/images/maven-temurin-11/Dockerfile @@ -16,7 +16,7 @@ RUN chmod 666 /usr/lib/jvm/temurin*/lib/security/cacerts ENV GH_RUNNER_LABELS="ubuntu-20.04,maven,temurin-11,helm,ansible" # https://github.com/helm/helm/releases -ARG HELM_VERSION=3.8.1 +ARG HELM_VERSION=3.12.0 # Install helm RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \ diff --git a/images/maven-temurin-17/Dockerfile b/images/maven-temurin-17/Dockerfile index fa47a6d..a58d114 100644 --- a/images/maven-temurin-17/Dockerfile +++ b/images/maven-temurin-17/Dockerfile @@ -1,9 +1,8 @@ FROM ghcr.io/fullstack-devops/github-actions-runner:latest-base USER root -# install packages along with jq so we can parse JSON # add additional packages as necessary -ARG PACKAGES="temurin-17-jdk xmlstarlet maven" +ARG PACKAGES="temurin-17-jdk xmlstarlet" ARG PACKAGES_PYTHON="kubernetes" RUN apt-get update \ @@ -11,12 +10,17 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean +# maven version > 3.6 is still not in ubuntu package managemant +ENV MAVEN_VERSION=3.9.3 +RUN curl -fsSL https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz | tar -xzC /opt/ \ + && ln -s /opt/apache-maven-${MAVEN_VERSION}/bin/mvn /usr/bin/mvn + # make cacerts for user accessable RUN chmod 666 /usr/lib/jvm/temurin*/lib/security/cacerts ENV GH_RUNNER_LABELS="ubuntu-20.04,maven,temurin-17,helm,ansible" # https://github.com/helm/helm/releases -ARG HELM_VERSION=3.8.1 +ARG HELM_VERSION=3.12.0 # Install helm RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \ diff --git a/images/ng-cli-karma/Dockerfile b/images/ng-cli-karma/Dockerfile index dea6f5e..2ccfda6 100644 --- a/images/ng-cli-karma/Dockerfile +++ b/images/ng-cli-karma/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update \ ENV GH_RUNNER_LABELS="ubuntu-20.04,nodejs,yarn,karma,chrome,helm,ansible" # https://github.com/helm/helm/releases -ARG HELM_VERSION=3.8.1 +ARG HELM_VERSION=3.12.0 # https://go.dev/dl/ ARG GO_VERSION=1.18