Skip to content

Commit

Permalink
update to new action output syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lbjay committed Aug 8, 2023
1 parent 94b6166 commit 61f4ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ inputs:
outputs:
image_for_scanning:
description: "The label:tag for a local image suitable for scanning"
ecr_repo_url:
description: "Link to the repo in the AWS ECR console"
runs:
using: docker
image: Dockerfile
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ function main() {
ACCOUNT_URL="$INPUT_ACCOUNT_ID.dkr.ecr.$INPUT_REGION.amazonaws.com"

SCAN_ME_LABEL=${INPUT_REPO}:scan-me

# also set an output to allow for other image scanning steps
echo ::set-output name=image_for_scanning::${SCAN_ME_LABEL}
echo "image_for_scanning=${SCAN_ME_LABEL}" >> $GITHUB_OUTPUT

local TAGS=$INPUT_TAGS
local GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
Expand Down

0 comments on commit 61f4ffb

Please sign in to comment.