diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d48e0ef492b..e69722a11d7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -183,14 +183,14 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -199,9 +199,10 @@ jobs: run: | echo "version=$(grep -m 1 version Cargo.toml | cut -d' ' -f3 | tr -d '\"')" >> $GITHUB_OUTPUT id: version + - name: Build and push (test) if: github.event_name == 'workflow_dispatch' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: mirrord/cli/Dockerfile @@ -209,9 +210,10 @@ jobs: push: true tags: | ghcr.io/metalbear-co/mirrord-cli-staging:${{ github.sha }} + - name: Build and push (final/release) if: github.event_name != 'workflow_dispatch' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: mirrord/cli/Dockerfile @@ -241,6 +243,7 @@ jobs: - uses: actions/download-artifact@v4 with: path: /tmp/artifacts + pattern: +(*-unknown-linux-gnu|*-apple-darwin) - uses: montudor/action-zip@v1 - name: Create mirrord linux-x64 zip file run: | @@ -297,6 +300,7 @@ jobs: steps: - uses: actions/download-artifact@v4 with: + name: shasum path: /tmp/artifacts - uses: actions/checkout@v4 - name: Get release version and hashes diff --git a/changelog.d/+fix-release-ci.internal.md b/changelog.d/+fix-release-ci.internal.md new file mode 100644 index 00000000000..dea7b70b1dc --- /dev/null +++ b/changelog.d/+fix-release-ci.internal.md @@ -0,0 +1 @@ +Fix ci to re-relese 3.113.0