diff --git a/.github/workflows/sdk-utils.yaml b/.github/workflows/sdk-utils.yaml index 0f84de4..d863410 100644 --- a/.github/workflows/sdk-utils.yaml +++ b/.github/workflows/sdk-utils.yaml @@ -52,6 +52,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push + id: build_and_push uses: docker/build-push-action@v6 with: context: utils @@ -66,5 +67,5 @@ jobs: - name: Tag as latest if requested if: ${{ inputs.publish_as_latest }} run: | - docker tag ghcr.io/start9labs/sdk/utils:${{ github.sha }} ghcr.io/start9labs/sdk/utils:latest - docker push ghcr.io/start9labs/sdk/utils:latest + docker manifest create ghcr.io/start9labs/sdk/utils:latest --amend ghcr.io/start9labs/sdk/utils@${{ steps.build_and_push.outputs.digest }} + docker manifest push ghcr.io/start9labs/sdk/utils:latest