build: remove netlify _release

This build target was not being used for a long time

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson
2024-07-05 08:15:31 +02:00
parent 9cc209d4f2
commit 140b8d0704
7 changed files with 4 additions and 728 deletions

View File

@@ -83,7 +83,7 @@ target "test-go-redirects" {
#
# releaser targets are defined in _releaser/Dockerfile
# and are used for Netlify and AWS S3 deployment
# and are used for AWS S3 deployment
#
target "releaser-build" {
@@ -93,38 +93,6 @@ target "releaser-build" {
provenance = false
}
variable "NETLIFY_SITE_NAME" {
default = ""
}
target "_common-netlify" {
args = {
NETLIFY_SITE_NAME = NETLIFY_SITE_NAME
}
secret = [
"id=NETLIFY_AUTH_TOKEN,env=NETLIFY_AUTH_TOKEN"
]
}
target "netlify-remove" {
inherits = ["_common-netlify"]
context = "_releaser"
target = "netlify-remove"
no-cache-filter = ["netlify-remove"]
output = ["type=cacheonly"]
}
target "netlify-deploy" {
inherits = ["_common-netlify"]
context = "_releaser"
target = "netlify-deploy"
contexts = {
sitedir = DOCS_SITE_DIR
}
no-cache-filter = ["netlify-deploy"]
output = ["type=cacheonly"]
}
variable "AWS_REGION" {
default = ""
}