Giter Club home page Giter Club logo

gregyjames / ghcr_container Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 28 KB

Build an docker container and push it to to your private package repo.

azure azure-container azure-container-apps azure-container-registry azure-container-service azurecontainerapps azurecontainerinstance azurecontainerregistry azurecontainerservice docker docker-image dockerfile github github-actions github-package-deployment github-package-registry github-packages

ghcr_container's Introduction

docker_build_push_ghcr

ghcr_container

Build a docker container and push it to to your private package repo. Using this because I don't want to pay $4.75 a month for a basic azure container repo. For 500mb of storage for free, it's a steal. Especially if you use my Minimized Go Server Docker Script, which averages 2.5-3mb per image.

How to use

Go to settings -> Developer Settings -> Personal Access Tokens -> Tokens (Classic). Create a new token with delete:packages, repo, write:packages permissions. Copy this and save as an repositiory secret named PAT_PACKAGE_TOKEN.

Azure Container Settings

Setting Value
Name {repo_name}
Image source Docker Hub or other registries
Image type Private
Registry login server ghcr.io
Username Github Username
Password PAT_PACKAGE_TOKEN
Image name {username}/{repo_name}:{version_tag}

ghcr_container's People

Contributors

gregyjames avatar

Watchers

 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.