Skip to content

Commit

Permalink
Merge pull request #6 from arunsathiya/main
Browse files Browse the repository at this point in the history
ci: Use GITHUB_OUTPUT envvar instead of set-output command
  • Loading branch information
tbobm authored Jan 23, 2024
2 parents 8453d77 + 7b2ef18 commit 1b0ef93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Set tag
id: vars
run: echo "::set-output name=tag::${GITHUB_REF#refs/*/}"
run: echo "tag=${GITHUB_REF#refs/*/}" >> "$GITHUB_OUTPUT"

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand All @@ -60,7 +60,7 @@ jobs:
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> "$GITHUB_OUTPUT"
- name: Download task definition
run: |
Expand Down

0 comments on commit 1b0ef93

Please sign in to comment.