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

save-state and set-output deprecation warnings #168

Closed
hemberger opened this issue Oct 12, 2022 · 2 comments · Fixed by #167
Closed

save-state and set-output deprecation warnings #168

hemberger opened this issue Oct 12, 2022 · 2 comments · Fixed by #167

Comments

@hemberger
Copy link

Behaviour

Hi docker devs! This may already be a known issue, but using docker/setup-buildx-action@v2 results in some span about deprecated commands save-state and set-output.

Steps to reproduce this issue

  1. Just include the docker/setup-buildx-action@v2 action at any step of a workflow.

Expected behaviour

No warnings.

Actual behaviour

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 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/

Configuration

name: CI

on:
  # Run tests for pull requests or pushes to the main branch
  pull_request:
    branches:
      - main
  push:
    branches:
      - main

env:
  DOCKER_BUILDKIT: 1
  BUILDKIT_PROGRESS: plain

jobs:
  build:
    name: Build
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout the source code
        uses: actions/checkout@v3

      - name: Set up Docker buildx
        uses: docker/setup-buildx-action@v2

      - name: Build image
        uses: docker/build-push-action@v3
        with:
          context: .
          build-args: |
            NO_DEV=0
          tags: local/smr:latest
          cache-from: type=gha
          cache-to: type=gha,mode=max

Logs

logs_1650.zip

Thank you for your time!

@crazy-max
Copy link
Member

Yes known issue and will be fixed with #167.

@habur6
Copy link

habur6 commented Dec 5, 2022

Hello! Which version of this action should I upgrade to not get the same warnings?

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 a pull request may close this issue.

3 participants