Visitar URL original
`save-state` and `set-output` deprecation warnings · Issue #168 · docker/setup-buildx-action · GitHub
Skip to content

save-state and set-output deprecation warnings #168

Closed

Description

@hemberger

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!

Activity

  1. crazy-max commented on Oct 12, 2022

    @crazy-max
    Member

    Yes known issue and will be fixed with #167.

  2. habur6 commented on Dec 5, 2022

    @habur6

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions