2019-07-13 12:48:20 +02:00
2019-07-13 12:48:20 +02:00
2019-02-27 13:57:10 +01:00
2019-02-23 13:07:02 +01:00
2019-02-27 13:57:10 +01:00
2019-03-17 19:59:51 +01:00
2019-03-17 19:53:22 +01:00
2019-02-27 13:57:10 +01:00

Publishes docker containers to Dockerhub

Actions Status

This Action for Docker uses the Git branch as the Docker tag for building and pushing the container to DockerHub. Hereby the master-branch is published as the latest-tag.

Usage

An example workflow:

workflow "Publish Docker" {
  on = "push"
  resolves = ["logout"]
}

action "login" {
  uses = "actions/docker/login@8cdf801b322af5f369e00d85e9cf3a7122f49108"
  secrets = ["DOCKER_PASSWORD", "DOCKER_USERNAME"]
}

action "publish" {
  uses = "elgohr/Publish-Docker-Github-Action@1.0"
  args = "myDocker/repository"
  needs = ["login"]
}

action "logout" {
  uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
  args = "logout"
  needs = ["publish"]
}

Argument

You need to provide the desired docker repository to the action.

Description
No description provided
Readme MIT 564 KiB
Languages
Shell 96.8%
Dockerfile 2.9%
Makefile 0.3%