Giter Site home page Giter Site logo

github-esp-dockerfiles's Introduction

github-esp-dockerfiles

This is the project for the standard Docker files. The images can be reused in GH events mainly on self-hosted runners.

Building a Docker image

  • create a directory in the root of this project with the same name as the future Docker image.
  • prepare a Dockerfile and place it in this new directory
  • create a GH workflow (GH action) in .github/workflows/build_image_<name_of_your_image>.yml

RECOMMENDATION: The existing .yml workflow file can be copied and edited.

  • Edit paths in the workflow file
  • Set the following env variables in the workflow file:
env value example
IMAGE_DIR Dockefile directory (context) ./pyenv_python
IMAGE_NAME full image name ghcr.io/${{ github.repository }}/pyenv_python
IMAGE_TAG image version tag v1
IMAGE_ARCHS build for architectures linux/amd64,linux/arm,linux/arm64
  • the image is pushed to the GH packages of this repository only when merged into the master branch
  • from there it can be used in any other project (images are public)

github-esp-dockerfiles's People

Contributors

tomassebestik avatar jurajsadel 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.