From 64311ace70245c60224b6fac9e6fdecf015d10be Mon Sep 17 00:00:00 2001 From: Otterian Date: Thu, 13 Apr 2023 10:29:43 +0200 Subject: [PATCH] Cleanup of virtualenvironment image (decom) (#241) * Remove update check for virtualenvironments * [ci skip} Add note about the master image * Spellcheck, add in notice about the last version. * Add in deprecation notice in the Dockerfile as well for good measure [ci skip] * Refer to master tag [ci skip] * Spellcheck again [ci skip] --------- Co-authored-by: Otterian <24441547+Otterian@users.noreply.github.com> --- .github/workflows/updater.yml | 36 ----------------------------------- Dockerfile | 1 + README.md | 5 +++++ 3 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/updater.yml diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml deleted file mode 100644 index ec2fd78a..00000000 --- a/.github/workflows/updater.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Check Virtualenv -on: - schedule: - - cron: "0 0 * * *" - workflow_dispatch: - -jobs: - check-for-updates: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Check for updates - id: update - run: | - version=$(curl --location --silent https://api.github.com/repos/actions/virtual-environments/releases | \ - jq -r 'map(select(.tag_name|startswith("ubuntu20"))|.tag_name)[0]') - - echo ::set-output name=version::$version - if [[ "${version}a" = ubuntu20/*a ]];then - sed -i -r "s|^(ARG VIRTUAL_ENVIRONMENT_VERSION)\s*=.*|\1=$version|" Dockerfile - fi - - - name: Create PR - uses: peter-evans/create-pull-request@v4 - with: - branch: "virtualenv/bump-${{ steps.update.outputs.version }}" - title: "Bump virtualenv to ${{ steps.update.outputs.version }}" - commit-message: "Bump virtualenv to ${{ steps.update.outputs.version }}" - labels: | - dependencies - team-reviewers: | - owners - maintainers - draft: False - diff --git a/Dockerfile b/Dockerfile index 0f9adc13..4f113b97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +#Note: This virtualenvironments image is not being updated anymore. See the README. FROM quay.io/evryfs/base-ubuntu:focal-20221130 # This the release tag of virtual-environments: https://github.com/actions/virtual-environments/releases diff --git a/README.md b/README.md index 5e9ed36f..c6a86119 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ [![Docker Repository on Quay](https://quay.io/repository/evryfs/github-actions-runner/status "Docker Repository on Quay")](https://quay.io/repository/evryfs/github-actions-runner) + +Note: The master tag uses the virtual-environments setup from GHA, which is not in use by this project anymore - thus that image is no longer updated (only relevant for the master tagged image) +Use the myoung34-derivate image instead, which follows the myoung34-derivate branch (https://github.com/evryfs/github-actions-runner/tree/myoung34-derivate) + + # github-actions-runner Image for containerized github [actions runner](https://github.com/actions/runner).