GithubHelp home page GithubHelp logo

bump-chainguard-digest's Introduction

Bump digest for chainguard image

Chainguard only allows the :latest and :latest-dev tags for their images (announcement). Older verions must be referenced by digests (@sha256:...). Use this action to setup nightly github actions that bump chainguard images to the newest digests.

use the action

example for nightly job:

name: Bump redis image

on:
  schedule:
    - cron: "0 0 * * *"
  workflow_dispatch:

permissions:
  contents: write

jobs:
  bump-chainguard-images:
    runs-on: ubuntu-latest
    steps:
      - name: bump redis image
        uses: digitalservicebund/bump-chainguard-digest@LATEST_HASH
        with:
          image_name: redis
          file_path: manifests/base/redis-deployment.yaml
          github_token: ${{ github.token }}

inputs:

input info
image_name name of the image to check for (e.g. nginx)
file_path path to the file where the image is located (e.g frontend/Dockerfile)
github_token required for using the github api to make commits (steps inside composite github actions cannot directly access the secrets context).

Note

Triggering another github workflow (e.g. a build pipeline) does not work automatically via the push trigger. You'll need to trigger the workflow manually.

bump-chainguard-digest's People

Contributors

patjouk avatar

Watchers

Niko Felger avatar Christian Kaatz avatar Eli Flores avatar Daniel Burgmann avatar  avatar Hanna Prinz avatar Magdalena Noffke avatar Benjamin Degenhart avatar Carl Gödecken avatar Tarek Hamaoui avatar Simon Kempendorf avatar Pram Gurusinga avatar Alex August Schlote avatar Lucas Solcher avatar Julian avatar Kai Bernhard avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.