Merge pull request #160 from crazy-max/node12
Some checks failed
test / test (push) Has been cancelled
ci / stop-docker (push) Has been cancelled
ci / google-container (windows-latest) (push) Has been cancelled
ci / logout (false) (push) Has been cancelled
ci / logout (true) (push) Has been cancelled
ci / dind (push) Has been cancelled
ci / acr (push) Has been cancelled
ci / dockerhub (ubuntu-latest) (push) Has been cancelled
ci / dockerhub (windows-latest) (push) Has been cancelled
ci / ecr (ubuntu-latest) (push) Has been cancelled
ci / ecr (windows-latest) (push) Has been cancelled
ci / ecr-aws-creds (ubuntu-latest) (push) Has been cancelled
ci / ecr-aws-creds (windows-latest) (push) Has been cancelled
ci / ecr-public (ubuntu-latest) (push) Has been cancelled
ci / ecr-public (windows-latest) (push) Has been cancelled
ci / ecr-public-aws-creds (ubuntu-latest) (push) Has been cancelled
ci / ecr-public-aws-creds (windows-latest) (push) Has been cancelled
ci / github-container (ubuntu-latest) (push) Has been cancelled
ci / github-container (windows-latest) (push) Has been cancelled
ci / gitlab (ubuntu-latest) (push) Has been cancelled
ci / gitlab (windows-latest) (push) Has been cancelled
ci / google-artifact (ubuntu-latest) (push) Has been cancelled
ci / google-artifact (windows-latest) (push) Has been cancelled
ci / google-container (ubuntu-latest) (push) Has been cancelled

Revert to Node 12 as default runtime
This commit is contained in:
CrazyMax 2022-03-01 20:54:30 +01:00 committed by GitHub
commit dd4fa0671b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 29 deletions

View File

@ -26,6 +26,6 @@ inputs:
required: false
runs:
using: 'node16'
using: 'node12'
main: 'dist/index.js'
post: 'dist/index.js'

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.3-labs
ARG NODE_VERSION
ARG NODE_VERSION=12
ARG DOCKER_VERSION=20.10.10
ARG BUILDX_VERSION=0.7.0

View File

@ -1,13 +1,3 @@
variable "NODE_VERSION" {
default = "16"
}
target "node-version" {
args = {
NODE_VERSION = NODE_VERSION
}
}
group "default" {
targets = ["build"]
}
@ -21,50 +11,43 @@ group "validate" {
}
target "build" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "build-update"
output = ["."]
}
target "build-validate" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "build-validate"
output = ["type=cacheonly"]
}
target "format" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "format-update"
output = ["."]
}
target "format-validate" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "format-validate"
output = ["type=cacheonly"]
}
target "vendor-update" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "vendor-update"
output = ["."]
}
target "vendor-validate" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "vendor-validate"
output = ["type=cacheonly"]
}
target "test" {
inherits = ["node-version"]
dockerfile = "./hack/build.Dockerfile"
dockerfile = "dev.Dockerfile"
target = "test-coverage"
output = ["./coverage"]
}

View File

@ -13,9 +13,6 @@
"type": "git",
"url": "git+https://github.com/docker/login-action.git"
},
"engines": {
"node": "^16"
},
"keywords": [
"actions",
"docker",