Skip to content

Commit

Permalink
Update builder image tags to 20231004.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cormacpayne committed Oct 4, 2023
1 parent 6e98c7e commit f7fc71a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ For more information on the structure of the YAML configuration file, please vis
| `resourceGroup` | No | The existing resource group that the Azure Container App will be created in. If not provided, this value will be `<container-app-name>-rg` and its existence will first be checked before attempting to create it. |
| `containerAppEnvironment` | No | The name of the Container App environment to use with the application. If not provided, an existing environment in the resource group of the Container App will be used, otherwise, an environment will be created in the formation `<container-app-name>-env`. |
| `runtimeStack` | No | The platform version stack used in the final runnable application image that is deployed to the Container App. The value should be provided in the formation `<platform>:<version>`. If not provided, this value is determined by Oryx based on the contents of the provided application. Please refer to [this document](https://github.com/microsoft/Oryx/blob/main/doc/supportedRuntimeVersions.md) for more information on supported runtime stacks for Oryx. |
| `builderStack` | No | The stack (OS) that should be used to build the provided application source and produce the runnable application image. You can provide a specific image tag for the stack, such as "debian-bookworm-20230928.2", or you can provide a supported stack name, such as "debian-bookworm" or "debian-bullseye", and the latest supported image tag for that stack will be used. If no stack is provided, this action will attempt to build the provided application source with each supported stack until there's a successful build. |
| `builderStack` | No | The stack (OS) that should be used to build the provided application source and produce the runnable application image. You can provide a specific image tag for the stack, such as "debian-bookworm-20231004.1", or you can provide a supported stack name, such as "debian-bookworm" or "debian-bullseye", and the latest supported image tag for that stack will be used. If no stack is provided, this action will attempt to build the provided application source with each supported stack until there's a successful build. |
| `targetPort` | No | The designated port for the application to run on. If no value is provided and the builder is used to build the runnable application image, the target port will be set to 80 for Python applications and 8080 for all other platform applications. If no value is provided when creating a Container App, the target port will default to 80. Note: when using this action to update a Container App, the target port may be updated if not provided based on changes to the ingress property. |
| `location` | No | The location that the Container App (and other created resources) will be deployed to. To view locations suitable for creating the Container App in, please run the following: `az provider show -n Microsoft.App --query "resourceTypes[?resourceType=='containerApps'].locations"` |
| `environmentVariables` | No | A list of environment variable(s) for the container. Space-separated values in 'key=value' format. Empty string to clear existing values. Prefix value with 'secretref:' to reference a secret. |
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ inputs:
builderStack:
description: |
'The stack (OS) that should be used to build the provided application source and produce the runnable application
image. You can provide a specific image tag for the stack, such as "debian-bullseye-20230928.2", or you can
image. You can provide a specific image tag for the stack, such as "debian-bullseye-20231004.1", or you can
provide a supported stack name, such as "debian-bookworm" or "debian-bullseye", and the latest supported image tag
for that stack will be used. If no stack is provided, this action will attempt to build the provided application
source with each supported stack until there's a successful build.'
Expand Down Expand Up @@ -474,7 +474,7 @@ runs:
- name: Set Oryx++ Builder as default builder
if: ${{ inputs.appSourcePath != '' && env.CA_GH_ACTION_DOCKERFILE_PATH == '' }}
shell: bash
run: pack config default-builder mcr.microsoft.com/oryx/builder:debian-bullseye-20230928.2
run: pack config default-builder mcr.microsoft.com/oryx/builder:debian-bullseye-20231004.1

- name: Enable experimental features for Oryx++ Builder
if: ${{ inputs.appSourcePath != '' && env.CA_GH_ACTION_DOCKERFILE_PATH == '' }}
Expand Down Expand Up @@ -527,7 +527,7 @@ runs:
pack build \
${{ env.CA_GH_ACTION_IMAGE_TO_DEPLOY }} \
--path ${{ inputs.appSourcePath }} \
--builder mcr.microsoft.com/oryx/builder:debian-bullseye-20230928.2 \
--builder mcr.microsoft.com/oryx/builder:debian-bullseye-20231004.1 \
${{ env.CA_GH_ACTION_ORYX_BUILDER_ENV_ARG }} \
${{ env.CA_GH_ACTION_ORYX_BUILDER_TELEMETRY_ARG }} || \
echo "CA_GH_ACTION_USE_BOOKWORM_BUILDER=true" >> $GITHUB_ENV
Expand All @@ -539,7 +539,7 @@ runs:
pack build \
${{ env.CA_GH_ACTION_IMAGE_TO_DEPLOY }} \
--path ${{ inputs.appSourcePath }} \
--builder mcr.microsoft.com/oryx/builder:debian-bookworm-20231003.1 \
--builder mcr.microsoft.com/oryx/builder:debian-bookworm-20231004.1 \
${{ env.CA_GH_ACTION_ORYX_BUILDER_ENV_ARG }} \
${{ env.CA_GH_ACTION_ORYX_BUILDER_TELEMETRY_ARG }}
Expand Down

0 comments on commit f7fc71a

Please sign in to comment.