Skip to content

Commit 50f7d89

Browse files
committed
use mcr.microsoft.com/azure-cli as base image
Signed-off-by: Matthew Fisher <[email protected]>
1 parent ec64da8 commit 50f7d89

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM python:3.10
1+
FROM mcr.microsoft.com/azure-cli
22

33
LABEL "com.github.actions.name"="azure-blob-storage-upload"
44
LABEL "com.github.actions.description"="Uploads assets to Azure Blob Storage"
55
LABEL "com.github.actions.icon"="box"
66
LABEL "com.github.actions.color"="green"
77
LABEL "repository"="https://github.com/bacongobbler/azure-blob-storage-upload"
88
LABEL "homepage"="https://github.com/bacongobbler/azure-blob-storage-upload"
9-
LABEL "maintainer"="Matthew Fisher <matt.fisher@microsoft.com>"
9+
LABEL "maintainer"="Matthew Fisher <matt.fisher@fishworks.io>"
1010

1111
ADD entrypoint.sh /entrypoint.sh
1212
RUN chmod +x entrypoint.sh

action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ branding:
55
icon: "box"
66
color: "green"
77
inputs:
8-
cli_version:
9-
description: "If set, specifies the version of the Azure CLI to install. Defaults to latest"
10-
required: false
118
connection_string:
129
description: "The connection string for the storage account. Used if value is set. Either connection_string or sas_token must be supplied"
1310
required: false

entrypoint.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,4 @@ if [[ -n ${INPUT_CLI_VERSION} ]]; then
5050
CLI_VERSION="==${INPUT_CLI_VERSION}"
5151
fi
5252

53-
# install the azure cli
54-
pip install azure-cli${CLI_VERSION}
55-
5653
az storage blob ${VERB} ${CONNECTION_METHOD} --source ${INPUT_SOURCE_DIR} ${CONTAINER_NAME_FLAG} ${INPUT_CONTAINER_NAME} ${ARG_OVERWRITE} ${EXTRA_ARGS}

0 commit comments

Comments
 (0)