Giter VIP home page Giter VIP logo

jenkins-example-cosign's Introduction

jenkins-example-cosign

To install the cosign in your Jenkins machine:

You can refer to this tutorial to install the cosign in your Jenkins machine.

You can use the wget command to install the most recent binary. In our example, the release we are installing is 2.0.0.

wget "https://github.com/sigstore/cosign/releases/download/v2.0.0/cosign-linux-amd64"

After that type the following command in order to move the Cosign binary to your bin folder:

sudo mv cosign-linux-amd64 /usr/local/bin/cosign

Next, update permissions so that Cosign can execute within your filesystem.

sudo chmod +x /usr/local/bin/cosign

Finally, verify all is done:

cosign version

You should have an outpout like that :

Cosign versoin output

Sign your Docker image:

You can refer to this tutorial to sign your Docker images.

For exemple:

cosign sign l267t8qk.c1.de1.container-registry.ovh.net/ecommerce/stages/fuse-dashboard@sha256:ea08af50baa8659dfeef1ccc714787d4a04f2d993b8f4002008f0e94c6dcbe94

Sign your Docker image with Jenkins pipeline:

You can refer to this tutorial to sign your Docker images inside the Jenkins pipeline.

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.