From 0a283b683fd44743193246f3156f3610e6da0075 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 12 Oct 2023 14:26:08 +0200 Subject: [PATCH 1/2] e2e: disable artifactory Signed-off-by: CrazyMax --- .github/workflows/e2e.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6715ccc..06dc9c3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -88,13 +88,13 @@ jobs: username_secret: QUAY_USERNAME password_secret: QUAY_TOKEN type: remote - - - name: Artifactory - registry: sforzando-build-team-local.jfrog.io - slug: sforzando-build-team-local.jfrog.io/build-push-action-e2e - username_secret: ARTIFACTORY_USERNAME - password_secret: ARTIFACTORY_TOKEN - type: remote +# - +# name: Artifactory +# registry: sforzando-build-team-local.jfrog.io +# slug: sforzando-build-team-local.jfrog.io/build-push-action-e2e +# username_secret: ARTIFACTORY_USERNAME +# password_secret: ARTIFACTORY_TOKEN +# type: remote - name: Harbor id: harbor From 3c7915695fb1b53a74257068b479710829b2b607 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 12 Oct 2023 14:32:49 +0200 Subject: [PATCH 2/2] chore: update secret-envs description Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 2 +- README.md | 2 +- action.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33479a2..b578f9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -393,7 +393,7 @@ jobs: MYSECRET=foo INVALID_SECRET= - secret-env: + secret-envs: runs-on: ubuntu-latest steps: - diff --git a/README.md b/README.md index 426e405..00a830c 100644 --- a/README.md +++ b/README.md @@ -238,7 +238,7 @@ Following inputs can be used as `step.with` keys | `push` | Bool | [Push](https://docs.docker.com/engine/reference/commandline/buildx_build/#push) is a shorthand for `--output=type=registry` (default `false`) | | `sbom` | Bool/String | Generate [SBOM](https://docs.docker.com/build/attestations/sbom/) attestation for the build (shorthand for `--attest=type=sbom`) | | `secrets` | List | List of [secrets](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build (e.g., `key=string`, `GIT_AUTH_TOKEN=mytoken`) | -| `secret-envs` | List/CSV | List of [secrets](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build using environment variables (e.g., MY_SECRET=MY_ENV_VAR) | +| `secret-envs` | List/CSV | List of [secret env vars](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build (e.g., `key=envname`, `MY_SECRET=MY_ENV_VAR`) | | `secret-files` | List | List of [secret files](https://docs.docker.com/engine/reference/commandline/buildx_build/#secret) to expose to the build (e.g., `key=filename`, `MY_SECRET=./secret.txt`) | | `shm-size` | String | Size of [`/dev/shm`](https://docs.docker.com/engine/reference/commandline/buildx_build/#shm-size) (e.g., `2g`) | | `ssh` | List | List of [SSH agent socket or keys](https://docs.docker.com/engine/reference/commandline/buildx_build/#ssh) to expose to the build | diff --git a/action.yml b/action.yml index 3cdf81f..dc38d9e 100644 --- a/action.yml +++ b/action.yml @@ -81,7 +81,7 @@ inputs: description: "List of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken)" required: false secret-envs: - description: "List of secrets to expose to the build using environment variables (e.g., MY_SECRET=MY_ENV_VAR)" + description: "List of secret env vars to expose to the build (e.g., key=envname, MY_SECRET=MY_ENV_VAR)" required: false secret-files: description: "List of secret files to expose to the build (e.g., key=filename, MY_SECRET=./secret.txt)"