diff --git a/build/action.yml b/build/action.yml index 05fe221..851b4e5 100644 --- a/build/action.yml +++ b/build/action.yml @@ -97,6 +97,10 @@ inputs: If set to a GHCR registry, the action will push to the GitHub Container Registry of the repository. Using GHCR requires the `packages: write` permission to push to the registry. required: false + push: + description: 'If `true`, the action will push the Docker image to the registry.' + required: false + default: 'true' AZURE_TENANT_ID: description: 'Tenant ID of the Azure Container Registry to push to. Only required if using your own ACR.' required: false @@ -202,6 +206,7 @@ runs: # Pass optional inputs as environment variables, since they can be empty. # The CLI does not accept empty strings passed to the flags, e.g. `--go-main-package-dir ''` will cause an error. 3LV_SYSTEM_NAME: ${{ inputs.namespace }} + 3LV_PUSH: ${{ inputs.push }} 3LV_REGISTRY: ${{ inputs.registry }} 3LV_BUILD_CONTEXT: ${{ inputs.docker-build-context }} 3LV_GO_MAIN_PACKAGE_DIR: ${{ inputs.go-main-package-dir }} diff --git a/deploy/action.yml b/deploy/action.yml index 0479bf0..3b64c5d 100644 --- a/deploy/action.yml +++ b/deploy/action.yml @@ -69,6 +69,10 @@ inputs: description: 'Location of the GKE cluster to deploy to.' required: false default: 'europe-west1' + GK_USE_INTERNAL_IP: + description: 'If `true`, the action will set the `--internal-ip` flag when getting credentials for GKE.' + required: false + default: 'false' runs: using: 'composite' @@ -166,6 +170,7 @@ runs: 3LV_GKE_PROJECT_ID: ${{ inputs.GKE_PROJECT_ID }} 3LV_GKE_CLUSTER_NAME: ${{ inputs.GKE_CLUSTER_NAME }} 3LV_GKE_CLUSTER_LOCATION: ${{ inputs.GKE_CLUSTER_LOCATION }} + 3LV_GKE_USE_INTERNAL_IP: '${{ inputs.GKE_USE_INTERNAL_IP }}' - name: Notify Slack on failure if: ${{ failure() && inputs.slack-channel != '' }}