GithubHelp home page GithubHelp logo

docker / github-actions Goto Github PK

View Code? Open in Web Editor NEW
163.0 45.0 40.0 99 KB

:warning: This repository is deprecated and has been replaced by docker/build-push-action@v2

License: Apache License 2.0

Dockerfile 3.84% Makefile 1.04% Go 95.12%

github-actions's People

Contributors

appleboy avatar chris-crone avatar crazy-max avatar stephen-turner avatar zappy-shu avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

github-actions's Issues

feature/doc run

I don't see how you can use docker run in the readme, would be great to have a docker run that took env: and volumes and stuff. I need to use docker run because I'm using buildkit, and an exception is being thrown in docker compose.

Is the docker image available/valid?

I tried to login using this Action, as explained in the README (https://github.com/docker/github-actions#commands):

  - run: |
      docker pull docker/github-actions
      INPUT_USERNAME="umarcor" INPUT_PASSWORD="${{ secrets.GITHUB_TOKEN }}" INPUT_REGISTRY="docker.pkg.github.com" docker run docker/github-actions login

But the image seems not to exist:

# docker pull docker/github-actions
Using default tag: latest
Error response from daemon: manifest for docker/github-actions:latest not found: manifest unknown: manifest unknown

Failing builds with = character in branch name

If there is an equals symbol in the branch name, the build-push-action fails to build with

Building image [myorg/myrepo:initial-home=page-tweaks myorg/myrepo:sha-5d13f16]
invalid argument "myorg/myrepo:initial-home=page-tweaks" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
Error: exit status 125
Usage:
exit status 125
  github-actions build-push [flags]
Flags:
  -h, --help   help for build-push

Should there be some special casing for this inline with how there's special casing for slashes in branch names?

Thanks

Optional output of full image tag

I see that https://github.com/docker/build-push-action uses this as the base for its commands.

I'm always looking for ways to reduce boilerplate in my github actions. In this case the full image URL. There's an open issue for having this as an output.

So given the conditions:
Trigger is push/tag. Say 1.4. And the repo being hello-world. The output generated for the below:

username: ${{ github.actor }}
password: ${{ github.token }}
registry: docker.pkg.github.com
repository: ${{ github.repository }}/hello-world
tag_with_ref: true

Should be able to get a full URL to the image:

docker.pkg.github.com/kyler-hyuna/hello-world/hello-world:1.4

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.