From 87cc4fabf73b119e53bbf29c2732898aff8d673f Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 13 Dec 2022 10:26:49 +0300 Subject: [PATCH] Update .github/workflows/ghcr.yml Co-authored-by: Krystle Salazar --- .github/workflows/ghcr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index ea9698a2d8..7c86b49f57 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -70,7 +70,7 @@ jobs: for tag in metadata["tags"]: if ":main" not in tag: version = tag.split(":")[1] - with open(os.environ.get("GITHUB_STATE"), "a") as state: + with open(os.environ.get("GITHUB_OUTPUT"), "a") as state: state.write(f"version={version}\n") - uses: docker/build-push-action@v3