-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
workflow "Release dabutvin/imgbot-compressimages" { | ||
on = "release" | ||
resolves = ["GitHub Action for Docker-1"] | ||
} | ||
|
||
action "Docker Registry" { | ||
uses = "actions/docker/login@8cdf801b322af5f369e00d85e9cf3a7122f49108" | ||
secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"] | ||
} | ||
|
||
action "GitHub Action for Docker" { | ||
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108" | ||
needs = ["Docker Registry"] | ||
args = "build -f Dockerfile.CompressImages . -t imgbot-compressimages" | ||
} | ||
|
||
action "Docker Tag" { | ||
uses = "actions/docker/tag@8cdf801b322af5f369e00d85e9cf3a7122f49108" | ||
needs = ["GitHub Action for Docker"] | ||
args = "imgbot-compressimages dabutvin/imgbot-compressimages" | ||
} | ||
|
||
action "GitHub Action for Docker-1" { | ||
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108" | ||
needs = ["Docker Tag"] | ||
args = "push dabutvin/imgbot-compressimages" | ||
} |