From b7249367592918272b97b95b51350d84468a6f7f Mon Sep 17 00:00:00 2001 From: Hubert Date: Tue, 7 Nov 2023 17:15:49 +0100 Subject: [PATCH] Fix retag workflow + add link (#3681) --- .github/workflows/docker-latest-tag.yml | 1 + .../src/developer_documentation/release_checklist.md | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-latest-tag.yml b/.github/workflows/docker-latest-tag.yml index bfb1ebac9dd..675a9f0310d 100644 --- a/.github/workflows/docker-latest-tag.yml +++ b/.github/workflows/docker-latest-tag.yml @@ -34,6 +34,7 @@ jobs: - name: Re-tag image run: | + docker pull ghcr.io/chainsafe/forest:${{ github.event.inputs.tag }} docker tag ghcr.io/chainsafe/forest:${{ github.event.inputs.tag }} ghcr.io/chainsafe/forest:${{ github.event.inputs.new_tag }} - name: Push image if: ${{ !github.event.inputs.dry_run }} diff --git a/documentation/src/developer_documentation/release_checklist.md b/documentation/src/developer_documentation/release_checklist.md index c606b5427cd..18796a4ea92 100644 --- a/documentation/src/developer_documentation/release_checklist.md +++ b/documentation/src/developer_documentation/release_checklist.md @@ -41,12 +41,13 @@ Make a pull request with the following changes: hour). - Verify that the new release is available in the GitHub Container Registry. Use `docker pull ghcr.io/chainsafe/forest:`. If it's a new stable release - (and not a backport), tag the image as `latest` with a action. - Verify the tags in the [packages][6] list. + (and not a backport), tag the image as `latest` with the [retag action][6]. + Verify the tags in the [packages][7] list. [1]: https://keepachangelog.com/en/1.0.0/ [2]: https://github.com/ChainSafe/forest/blob/main/Cargo.toml [3]: https://doc.rust-lang.org/cargo/reference/publishing.html [4]: https://github.com/ChainSafe/forest/releases/new [5]: https://github.com/ChainSafe/forest/blob/main/CHANGELOG.md -[6]: https://github.com/ChainSafe/forest/pkgs/container/forest +[6]: https://github.com/ChainSafe/forest/actions/workflows/docker-latest-tag.yml +[7]: https://github.com/ChainSafe/forest/pkgs/container/forest