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

Action raise warnings on deprecated features #464

Closed
nimbusparis opened this issue Apr 6, 2023 · 1 comment
Closed

Action raise warnings on deprecated features #464

nimbusparis opened this issue Apr 6, 2023 · 1 comment

Comments

@nimbusparis
Copy link

Behaviour

When used, this task raise warnings:
(see below)

Steps to reproduce this issue

Make workflow using docker/login-action

    - name: Docker Login
      uses: docker/login-action@v2.0.0
      with:
        registry: myacr.azurecr.io
        username: useracr
        password: ${{secrets.ACR_PASSWORD}}

Run action

Expected behaviour

The action should run without warning and without error after 31st of May 2023

Actual behaviour

Got warnings and errors in the future (see Git Hub action post)

Logs

Run docker/login-action@v2.0.0
with:
registry: myacr.azurecr.io
username: useracr
password: ***
ecr: auto
logout: true
env:
ImageTag: myacr.azurecr.io/my-backend:$(date +'%Y.%m.%d').29
Warning: The save-state command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-[10](https://github.com/MyRepo/actions/runs/4626035035/jobs/8182360922#step:3:11)-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The save-state 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/
Warning: The save-state 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](https://github.com/MyRepo/actions/runs/4626035035/jobs/8182360922#step:3:12)-github-actions-deprecating-save-state-and-set-output-commands/
Logging into myacr.azurecr.io...
Login Succeeded!

@nimbusparis
Copy link
Author

v2.1.0 fix the issue

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

No branches or pull requests

1 participant