Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ::set-output deprecation messages #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andros21
Copy link
Contributor

No description provided.

@@ -70,7 +70,7 @@ runs:
tag: localhost:1234/apk-scan

- id: grype-scan
uses: anchore/scan-action@ecfd0e98932e57ea8f68f29c4f418fc41a8194db
uses: anchore/scan-action@24fd7c9060f3c96848dd1929fac8d796fb5ae4b4
Copy link

@inteon inteon Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change seems unrelated to the rest of the PR?

Copy link
Contributor Author

@andros21 andros21 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it seems unrelated but without this minor bump v3.2.5 -> v3.3.6 not all ::set-ouput warnings go away, because used inside actual pinned version of anchore/scan-action. Maybe a different version can be selected, I have chosen this cause it's the last one released and surely in there ::set-output warnings are fixed

Let me know if you prefer to remove this change and bumps it in a separated PR or if ok, I have to cite the reason behind this bump briefly in the commit msg

@inteon
Copy link

inteon commented Nov 20, 2023

@imjasonh anyone on the chainguard team who is available to review and merge this PR?

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the updates
a small nit

@@ -70,7 +70,7 @@ runs:
tag: localhost:1234/apk-scan

- id: grype-scan
uses: anchore/scan-action@ecfd0e98932e57ea8f68f29c4f418fc41a8194db
uses: anchore/scan-action@24fd7c9060f3c96848dd1929fac8d796fb5ae4b4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add the version tag that this git hash is pointing to? will make easier for the next time

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, added

@inteon
Copy link

inteon commented Jan 17, 2024

@cpanato The PR now seems to be ready.

@cpanato cpanato requested a review from imjasonh January 17, 2024 12:10
@@ -135,10 +135,12 @@ runs:
--network host \
-v $PWD:${{ github.workspace }} \
-v /tmp:/tmp \
-v $GITHUB_OUTPUT:$GITHUB_OUTPUT \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at it again, is this required?

--workdir ${{ github.workspace }} \
-e "GITHUB_ACTOR=${{ inputs.repository_owner }}" \
-e "GITHUB_TOKEN=${{ inputs.token }}" \
-e "REPOSITORY=${{ inputs.repository }}" \
-e "GITHUB_OUTPUT=$GITHUB_OUTPUT" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this?

Copy link
Contributor Author

@andros21 andros21 Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not strictly required, both are required if digest output (line 180) is done inside the docker run command. An alternative way could be something like this andros21@1597f1f. If ok, I can update it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you can remove this

--workdir ${{ github.workspace }} \
-e "GITHUB_ACTOR=${{ inputs.repository_owner }}" \
-e "GITHUB_TOKEN=${{ inputs.token }}" \
-e "REPOSITORY=${{ inputs.repository }}" \
-e "GITHUB_OUTPUT=$GITHUB_OUTPUT" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you can remove this

neumayr added a commit to neumayr/actions that referenced this pull request Aug 1, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 1, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Co-authored-by: andros21 <[email protected]>
Co-authored-by: neumayr <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 1, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 1, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 2, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 2, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 2, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- isolate commit

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 2, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- isolate commit

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
neumayr added a commit to neumayr/actions that referenced this pull request Aug 2, 2024
- kudos to @andros21 for the fix in chainguard-images#127
- isolate commit

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: neumayr <[email protected]>
Co-authored-by: andros21 <[email protected]>
@neumayr
Copy link
Contributor

neumayr commented Dec 10, 2024

Hi @cpanato, @andros21 and @imjasonh – I hope you're having a great day – I just wanted to check if we could be a little supportive of each other and get this silly deprecation message out of the way. Thanks in advance! 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants