From c9298a9d97aaa166255f25b77609c03906d3e271 Mon Sep 17 00:00:00 2001 From: Aleksandr Shumilov Date: Sun, 22 Oct 2023 02:43:18 +0800 Subject: [PATCH] feat: change default value of docker-file parameter (#215) --- .changeset/spicy-ears-share.md | 5 +++++ build-push-image/README.md | 16 ++++++++-------- build-push-image/action.yml | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .changeset/spicy-ears-share.md diff --git a/.changeset/spicy-ears-share.md b/.changeset/spicy-ears-share.md new file mode 100644 index 0000000..df9b016 --- /dev/null +++ b/.changeset/spicy-ears-share.md @@ -0,0 +1,5 @@ +--- +'davinci-github-actions': major +--- + +- change default value of `docker-file` parameter in `davinci-github-actions/build-push-image` action diff --git a/build-push-image/README.md b/build-push-image/README.md index 904ebb6..076d4ec 100644 --- a/build-push-image/README.md +++ b/build-push-image/README.md @@ -12,14 +12,14 @@ This GH Action builds a Docker image and pushes to google cloud. The list of arguments, that are used in GH Action: -| name | type | required | default | description | -| ---------------- | ----------------------------------------------------------- | -------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------ | -| `sha` | string | ✅ | | Commit hash that will be used as a tag for the Docker image | -| `image-name` | string | ✅ | | Name of the Docker image. Might be used in the next steps (for ex.: deploy a Docker image) | -| `environment` | enum<
`temploy`,
`staging`,
`production`,
> | | staging | Determines additional procedures while creating a Docker image. | -| `build-args` | string | ✅ | | Multiline string to describe build arguments that will be used during dockerization | -| `docker-file` | string | | ./davinci/packages/ci/src/configs/docker/Dockerfile | pathname to Docker file | -| `davinci-branch` | string | | master | Custom davinci branch | +| name | type | required | default | description | +| ---------------- | ----------------------------------------------------------- | -------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | +| `sha` | string | ✅ | | Commit hash that will be used as a tag for the Docker image | +| `image-name` | string | ✅ | | Name of the Docker image. Might be used in the next steps (for ex.: deploy a Docker image) | +| `environment` | enum<
`temploy`,
`staging`,
`production`,
> | | staging | Determines additional procedures while creating a Docker image. | +| `build-args` | string | ✅ | | Multiline string to describe build arguments that will be used during dockerization | +| `docker-file` | string | | ./davinci/packages/ci/src/configs/docker/Dockerfile.gha-deploy | pathname to Docker file | +| `davinci-branch` | string | | master | Custom davinci branch | ### Outputs diff --git a/build-push-image/action.yml b/build-push-image/action.yml index 217708e..58cd2b0 100644 --- a/build-push-image/action.yml +++ b/build-push-image/action.yml @@ -23,7 +23,7 @@ inputs: docker-file: description: 'pathname to Docker file' required: false - default: ./davinci/packages/ci/src/configs/docker/Dockerfile + default: ./davinci/packages/ci/src/configs/docker/Dockerfile.gha-deploy davinci-branch: description: 'Custom davinci branch' required: false