Code Monkey home page Code Monkey logo

github-docker's Introduction

GitHub Docker Action

Build and publish your repository as a Docker image and push it to GitHub Package Registry in one easy step.

Inputs

accessToken

Required. GitHub Token for the user. Must have write permissions for packages. Recommended set up would be to use the provided GitHub Token for your repository; ${{ secrets.GITHUB_TOKEN }}.

context

Optional. Where should GitHub Docker find the Dockerfile? This is a path relative to the repository root. Defaults to ., meaning it will look for a Dockerfile in the root of the repository.

username

Optional. GitHub user to publish the image on behalf of. Defaults to the user who triggered the action to run.

repositoryName

Optional. The repository to push the image to. Defaults to current repository. Must be specified in format user/repo.

imageName

Optional. The desired name for the image. Defaults to current repository name.

imageTag

Optional. The desired tag for the image. Defaults to current branch or release version number.

buildArguments

Optional. Any additional build arguments to use when building the image.

Outputs

imageURL

The full URL of the image.

Example usage

- name: Checkout Repository
  uses: actions/checkout@v2
- name: Publish Image
  uses: matootie/[email protected]
  with:
    accessToken: ${{ secrets.GITHUB_TOKEN }}

github-docker's People

Contributors

codehz avatar dependabot-preview[bot] avatar matootie 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.