Skip to content

Commit

Permalink
fix: add default tag variable in docker-bake.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
rancoud committed Jan 27, 2024
1 parent f2dcf6d commit fa03b07
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
variable "DEFAULT_TAG" {
default = "discord-bot:local"
}

// GitHub reference as defined in GitHub Actions (eg. refs/head/master)
variable "GITHUB_REF" {
default = ""
Expand All @@ -10,7 +14,7 @@ target "git-ref" {
}

target "docker-metadata-action" {
tags = ["discord-bot"]
tags = ["${DEFAULT_TAG}"]
}

group "default" {
Expand Down

0 comments on commit fa03b07

Please sign in to comment.