Skip to content

Commit

Permalink
v3.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
escapace committed Mar 30, 2019
1 parent 91bc6b6 commit c2fbd86
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
41 changes: 41 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
workflow "New workflow" {
on = "push"
resolves = ["Docker Push A", "Docker Push B"]
}

action "Filter" {
uses = "actions/bin/filter@3c98a2679187369a2116d4f311568596d3725740"
runs = "tag v*"
}

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

action "Docker Build" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
args = "build -t manage ."
needs = ["Filter"]
}

action "Docker Tag" {
uses = "actions/docker/tag@8cdf801b322af5f369e00d85e9cf3a7122f49108"
needs = ["Docker Build"]
args = "--no-sha --no-ref --env manage escapace/manage"
}

action "Docker Push A" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
needs = ["Docker Tag", "Docker Login"]
args = "push escapace/mange:latest"
secrets = ["DOCKER_PASSWORD", "DOCKER_USERNAME"]
}

action "Docker Push B" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
needs = ["Docker Tag", "Docker Login"]
secrets = ["DOCKER_PASSWORD", "DOCKER_USERNAME"]
args = "push escapace/mange:${IMAGE_VERSION}"
}
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ COPY scripts scripts
COPY tests tests
COPY vendor vendor
COPY .manage_modules .manage_modules
COPY .github .github

RUN ./manage trust-escapace

ENTRYPOINT ["/sbin/tini", "--", "/workdir/manage"]
CMD ["help"]
LABEL version=v3.2.5
LABEL version=3.2.6
2 changes: 1 addition & 1 deletion manage
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ else
exit 1
fi

MANAGE_VERSION="v3.2.5"
MANAGE_VERSION="v3.2.6"

MANAGE_IS_CI () {
# Returns 0 if the current environment
Expand Down

0 comments on commit c2fbd86

Please sign in to comment.