Giter Site home page Giter Site logo

awscli-terraform-snowflake's Introduction

awscli-terraform-snowflake

A docker image containing awscli, terraform and snowflake.

This image is hosted in the InfinityWorks GitHub org's container registry, you'll find it under the packages section here.

To update:

  1. Register a GitHub account.
  2. Get access to the infinityworks organisation on GitHub and be added to the @staff group.
  3. Use the commands below to build & push from local

Build the image

docker build -t infinityworks/awscli-terraform-snowflake:<version_goes_here> -t infinityworks/awscli-terraform-snowflake:latest .

Scan it for vulnerabilities

docker scan infinityworks/awscli-terraform-snowflake

Log in to GitHub container registry and push it

Docs to the GH Registry

Personal Access Token (PAT)

To access the image in a CI pipeline you'll need a PAT. Assuming you have MFA enabled on your GitHub profile you'll also need a PAT to log in to the GH registry with Docker to push the image. This link should take you there. You'll need to authorise the InfinityWorks org to configure SSO for the token in order to push an image.

After creating a PAT, export it to your profile (optionally include it in your .zshrc/.bashrc file).

Log in

echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin

Tag the image

You'll need to tag the image before you can push it to GitHub. List out the images and copy the ID of the version you wish to push.

docker images

docker tag IMAGE_ID ghcr.io/infinityworks/awscli-terraform-snowflake:latest
docker tag IMAGE_ID ghcr.io/infinityworks/awscli-terraform-snowflake:<version_goes_here>

Push them

docker push infinityworks/awscli-terraform-snowflake:latest
docker push infinityworks/awscli-terraform-snowflake:<version_goes_here>

awscli-terraform-snowflake's People

Contributors

adamdewberry avatar edwardinfinity avatar jkg14 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

anilktechie

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.